Commit 2dcbe1a4 authored by Wim Taymans's avatar Wim Taymans

bufferlist: make objects opaque

parent 19dc3393
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment