*aggregator: Add g_autoptr support for *ConvertPad
This commit is contained in:
parent
f1b3ed37c6
commit
ec84cf92f9
@ -223,10 +223,9 @@ void gst_audio_aggregator_set_sink_caps (GstAudioAggregator * aagg,
|
|||||||
GstAudioAggregatorPad * pad,
|
GstAudioAggregatorPad * pad,
|
||||||
GstCaps * caps);
|
GstCaps * caps);
|
||||||
|
|
||||||
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAudioAggregator, gst_object_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAudioAggregator, gst_object_unref)
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAudioAggregatorPad, gst_object_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAudioAggregatorPad, gst_object_unref)
|
||||||
#endif
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAudioAggregatorConvertPad, gst_object_unref)
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
@ -247,10 +247,9 @@ struct _GstVideoAggregatorClass
|
|||||||
GST_VIDEO_API
|
GST_VIDEO_API
|
||||||
GType gst_video_aggregator_get_type (void);
|
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(GstVideoAggregator, gst_object_unref)
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVideoAggregatorPad, gst_object_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVideoAggregatorPad, gst_object_unref)
|
||||||
#endif
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVideoAggregatorConvertPad, gst_object_unref)
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
#endif /* __GST_VIDEO_AGGREGATOR_H__ */
|
#endif /* __GST_VIDEO_AGGREGATOR_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user