Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally
authorNiels De Graef <niels.degraef@barco.com>
Tue, 4 Jun 2019 07:01:47 +0000 (09:01 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 5 Jun 2019 00:31:09 +0000 (20:31 -0400)
commit93daa1435aa4397270ab705275bc3f9e6207f865
treecc33b93e6cc24f9cc32ae9f9c2a61f5b44577322
parentac5d0f7da688c1010ab2656f32c40e854e5b8bf2
Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionally

Since we started depending on GLib 2.44, we can be sure this macro is
defined (it will be a no-op on compilers that don't support it). For
plugins we should just start using `G_DECLARE_FINAL_TYPE` which means we
no longer need the macro there, but for most types in base/gst-libs we
don't want to break ABI, which means it's better to just keep it like it
is (and use the `#ifdef` instead).
39 files changed:
gst-libs/gst/allocators/gstdmabuf.h
gst-libs/gst/allocators/gstfdmemory.h
gst-libs/gst/app/gstappsink.h
gst-libs/gst/app/gstappsrc.h
gst-libs/gst/audio/audio-info.h
gst-libs/gst/audio/gstaudiobasesink.h
gst-libs/gst/audio/gstaudiobasesrc.h
gst-libs/gst/audio/gstaudiocdsrc.h
gst-libs/gst/audio/gstaudioclock.h
gst-libs/gst/audio/gstaudiodecoder.h
gst-libs/gst/audio/gstaudioencoder.h
gst-libs/gst/audio/gstaudiofilter.h
gst-libs/gst/audio/gstaudioringbuffer.h
gst-libs/gst/audio/gstaudiosink.h
gst-libs/gst/audio/gstaudiosrc.h
gst-libs/gst/gl/egl/gstglcontext_egl.h
gst-libs/gst/gl/gstgl_fwd.h
gst-libs/gst/gl/gstglframebuffer.h
gst-libs/gst/pbutils/encoding-profile.h
gst-libs/gst/pbutils/encoding-target.h
gst-libs/gst/pbutils/gstdiscoverer.h
gst-libs/gst/pbutils/install-plugins.h
gst-libs/gst/rtp/gstrtpbaseaudiopayload.h
gst-libs/gst/rtp/gstrtpbasedepayload.h
gst-libs/gst/rtp/gstrtpbasepayload.h
gst-libs/gst/rtsp/gstrtspurl.h
gst-libs/gst/sdp/gstmikey.h
gst-libs/gst/sdp/gstsdpmessage.h
gst-libs/gst/tag/gsttagdemux.h
gst-libs/gst/tag/gsttagmux.h
gst-libs/gst/video/colorbalancechannel.h
gst-libs/gst/video/gstvideodecoder.h
gst-libs/gst/video/gstvideoencoder.h
gst-libs/gst/video/gstvideofilter.h
gst-libs/gst/video/gstvideopool.h
gst-libs/gst/video/gstvideosink.h
gst-libs/gst/video/gstvideoutils.h
gst-libs/gst/video/video-info.h
gst-libs/gst/video/video-overlay-composition.h