summaryrefslogtreecommitdiff
path: root/gst/gstbufferlist.h
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2015-11-10 12:38:59 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2015-12-14 12:06:55 -0500
commit46f83f5fcda0dadd3afaeb807f8917356d1bcf19 (patch)
treecff8101a8463b8d97f19bddb6121ef96cead59b5 /gst/gstbufferlist.h
parent7e761798bdb7342a4fd0377edb5740ce4cdeb763 (diff)
core: Add g_autoptr() support to all types
https://bugzilla.gnome.org/show_bug.cgi?id=754464
Diffstat (limited to 'gst/gstbufferlist.h')
-rw-r--r--gst/gstbufferlist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/gstbufferlist.h b/gst/gstbufferlist.h
index df5c0c4304..0d3315bc12 100644
--- a/gst/gstbufferlist.h
+++ b/gst/gstbufferlist.h
@@ -150,6 +150,10 @@ GstBufferList * gst_buffer_list_copy_deep (const GstBufferL
#define gst_buffer_list_add(l,b) gst_buffer_list_insert((l),-1,(b));
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBufferList, gst_buffer_list_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_BUFFER_LIST_H__ */