qtmux: fix building with -DGST_REMOVE_DEPRECATED

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8901>
This commit is contained in:
Alexander Slobodeniuk 2025-04-26 02:51:14 +02:00 committed by GStreamer Marge Bot
parent 128710caab
commit 14d4c249ad

View File

@ -634,7 +634,9 @@ gst_qt_mux_class_init (GstQTMuxClass * klass)
gstagg_class->negotiate = NULL;
gst_type_mark_as_plugin_api (GST_TYPE_QT_MUX_PAD, 0);
#ifndef GST_REMOVE_DEPRECATED
gst_type_mark_as_plugin_api (GST_TYPE_QT_MUX_DTS_METHOD, 0);
#endif
gst_type_mark_as_plugin_api (GST_TYPE_QT_MUX_FRAGMENT_MODE, 0);
}