From: Mathieu Duponchelle Date: Thu, 20 Sep 2018 14:22:14 +0000 (+0200) Subject: aggregator: define autoptr cleanup functions X-Git-Tag: 1.16.2~269 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17798bca6dc457b3d81adae1ec58c7a8205b9585;p=platform%2Fupstream%2Fgstreamer.git aggregator: define autoptr cleanup functions --- diff --git a/libs/gst/base/gstaggregator.h b/libs/gst/base/gstaggregator.h index e404326..5045836 100644 --- a/libs/gst/base/gstaggregator.h +++ b/libs/gst/base/gstaggregator.h @@ -359,4 +359,9 @@ GstClockTime gst_aggregator_simple_get_next_time (GstAggregator G_END_DECLS +#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAggregator, gst_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAggregatorPad, gst_object_unref) +#endif + #endif /* __GST_AGGREGATOR_H__ */