summaryrefslogtreecommitdiff
path: root/gst/gstbufferlist.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-08-29 15:34:30 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2011-08-29 15:34:30 +0200
commitf3b0d3cdbebf162270356efcfbccffec9ed53eb8 (patch)
treed6d021348650b1edafbe8b48c76fee52e9c70ab6 /gst/gstbufferlist.h
parent414559897207789bb492984d08ad1b1242f11fa4 (diff)
init: add _get_type() functions
Remove gst_mini_object_register() and add a GST_DEFINE_MINI_OBJECT macro to define a _get_type() function for the boxed miniobject. Remove a bunch of custom _get_type() functions and replace them with the miniobject macro. Rename some _init method to _priv_*_initialize() like the rest of them. Inspired by patch from Johan Dahlin and see bug #657603
Diffstat (limited to 'gst/gstbufferlist.h')
-rw-r--r--gst/gstbufferlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/gstbufferlist.h b/gst/gstbufferlist.h
index 6ac0a67653..7275dad098 100644
--- a/gst/gstbufferlist.h
+++ b/gst/gstbufferlist.h
@@ -153,6 +153,8 @@ gst_buffer_list_copy (const GstBufferList * list)
*/
#define gst_buffer_list_make_writable(list) GST_BUFFER_LIST_CAST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (list)))
+GType gst_buffer_list_get_type (void);
+
/* allocation */
GstBufferList * gst_buffer_list_new (void);
GstBufferList * gst_buffer_list_sized_new (guint size);