Created
December 9, 2015 14:30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct | |
{ | |
GstBuffer buffer; | |
gsize slice_size; | |
/* the memory blocks */ | |
guint len; | |
GstMemory *mem[GST_BUFFER_MEM_MAX]; | |
/* memory of the buffer when allocated from 1 chunk */ | |
GstMemory *bufmem; | |
/* FIXME, make metadata allocation more efficient by using part of the | |
* GstBufferImpl */ | |
GstMetaItem *item; | |
} GstBufferImpl; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment