mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
bufferlist: make objects opaque
This commit is contained in:
parent
19dc33935e
commit
2dcbe1a4d3
2 changed files with 20 additions and 20 deletions
|
@ -131,10 +131,29 @@
|
|||
#define GROUP_START NULL
|
||||
static const gpointer STOLEN = "";
|
||||
|
||||
/**
|
||||
* GstBufferList:
|
||||
* @mini_object: the parent structure
|
||||
*
|
||||
* Opaque list of grouped buffers.
|
||||
*/
|
||||
struct _GstBufferList
|
||||
{
|
||||
GstMiniObject mini_object;
|
||||
|
||||
/*< private > */
|
||||
GList *buffers;
|
||||
};
|
||||
|
||||
struct _GstBufferListClass
|
||||
{
|
||||
GstMiniObjectClass mini_object_class;
|
||||
};
|
||||
|
||||
/**
|
||||
* GstBufferListIterator:
|
||||
*
|
||||
* Iterator for a #GstBufferList.
|
||||
* Opaque iterator for a #GstBufferList.
|
||||
*/
|
||||
struct _GstBufferListIterator
|
||||
{
|
||||
|
|
|
@ -82,25 +82,6 @@ typedef GstBuffer* (*GstBufferListDoFunction) (GstBuffer * buffer);
|
|||
*/
|
||||
typedef GstBuffer* (*GstBufferListDoDataFunction) (GstBuffer * buffer, gpointer data);
|
||||
|
||||
/**
|
||||
* GstBufferList:
|
||||
* @mini_object: the parent structure
|
||||
*
|
||||
* List of grouped buffers.
|
||||
*/
|
||||
struct _GstBufferList {
|
||||
GstMiniObject mini_object;
|
||||
|
||||
/*< private >*/
|
||||
GList *buffers;
|
||||
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
struct _GstBufferListClass {
|
||||
GstMiniObjectClass mini_object_class;
|
||||
};
|
||||
|
||||
GType gst_buffer_list_get_type (void);
|
||||
|
||||
/* allocation */
|
||||
|
|
Loading…
Reference in a new issue