mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
audiovisualizer: Add support for g_autoptr()
Ideally, we would use something like `G_DECLARE_DERIVABLE_TYPE`, but that would break API.
This commit is contained in:
parent
f265e5cbd5
commit
a6c4e92cb4
1 changed files with 2 additions and 0 deletions
|
@ -106,5 +106,7 @@ struct _GstAudioVisualizerClass
|
||||||
GST_PBUTILS_API
|
GST_PBUTILS_API
|
||||||
GType gst_audio_visualizer_get_type (void);
|
GType gst_audio_visualizer_get_type (void);
|
||||||
|
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GstAudioVisualizer, gst_object_unref)
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
#endif /* __GST_AUDIO_VISUALIZER_H__ */
|
#endif /* __GST_AUDIO_VISUALIZER_H__ */
|
||||||
|
|
Loading…
Reference in a new issue