mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
{audio,video}aggregator: define autoptr cleanup functions
This commit is contained in:
parent
b65d1c6de9
commit
4ccc7a51d1
2 changed files with 10 additions and 0 deletions
|
@ -223,6 +223,11 @@ void gst_audio_aggregator_set_sink_caps (GstAudioAggregator * aagg,
|
|||
GstAudioAggregatorPad * pad,
|
||||
GstCaps * caps);
|
||||
|
||||
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAudioAggregator, gst_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAudioAggregatorPad, gst_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_AUDIO_AGGREGATOR_H__ */
|
||||
|
|
|
@ -247,5 +247,10 @@ struct _GstVideoAggregatorClass
|
|||
GST_VIDEO_API
|
||||
GType gst_video_aggregator_get_type (void);
|
||||
|
||||
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVideoAggregator, gst_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVideoAggregatorPad, gst_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
#endif /* __GST_VIDEO_AGGREGATOR_H__ */
|
||||
|
|
Loading…
Reference in a new issue