diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2015-11-10 12:38:59 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-12-14 12:06:55 -0500 |
commit | 46f83f5fcda0dadd3afaeb807f8917356d1bcf19 (patch) | |
tree | cff8101a8463b8d97f19bddb6121ef96cead59b5 /gst/gstbufferlist.h | |
parent | 7e761798bdb7342a4fd0377edb5740ce4cdeb763 (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.h | 4 |
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__ */ |