From a048ce81d4276641a5c84b17cbfdfaf55f0d723e Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Sat, 6 Jun 2020 00:40:42 +0200 Subject: [PATCH] plugins: uddate gst_type_mark_as_plugin_api() calls --- ext/aom/gstav1enc.c | 6 +++--- ext/closedcaption/gstceaccoverlay.c | 2 +- ext/colormanagement/gstlcms.c | 4 ++-- ext/curl/gstcurlhttpsrc.c | 2 +- ext/curl/gstcurlsshsink.c | 2 +- ext/dash/gstdashsink.c | 2 +- ext/dc1394/gstdc1394src.c | 2 +- ext/dtls/plugin.c | 2 +- ext/mpeg2enc/gstmpeg2encoptions.cc | 14 +++++++------- ext/mplex/gstmplexjob.cc | 2 +- ext/opencv/gstcameracalibrate.cpp | 2 +- ext/opencv/gstcvsmooth.cpp | 2 +- ext/opencv/gstdewarp.cpp | 4 ++-- ext/opencv/gstdisparity.cpp | 2 +- ext/opencv/gstfaceblur.cpp | 2 +- ext/opencv/gstfacedetect.cpp | 4 ++-- ext/opencv/gstretinex.cpp | 2 +- ext/opencv/gstsegmentation.cpp | 2 +- ext/opencv/gstskindetect.cpp | 2 +- ext/openh264/gstopenh264enc.cpp | 10 +++++----- ext/openjpeg/gstopenjpegenc.c | 2 +- ext/srtp/gstsrtp.c | 4 ++-- ext/voamrwbenc/gstvoamrwbenc.c | 2 +- ext/webp/gstwebpenc.c | 2 +- ext/webrtc/gstwebrtcbin.c | 4 ++-- ext/webrtcdsp/gstwebrtcdsp.cpp | 8 ++++---- ext/x265/gstx265enc.c | 6 +++--- gst-libs/gst/audio/gstnonstreamaudiodecoder.c | 5 +++-- gst/adpcmenc/adpcmenc.c | 2 +- gst/audiomixmatrix/gstaudiomixmatrix.c | 2 +- gst/audiovisualizers/gstspacescope.c | 2 +- gst/audiovisualizers/gstwavescope.c | 2 +- gst/camerabin2/gstcamerabin2.c | 4 ++-- gst/coloreffects/gstcoloreffects.c | 2 +- gst/debugutils/gstchecksumsink.c | 2 +- gst/debugutils/gstclockselect.c | 2 +- gst/debugutils/gstcompare.c | 2 +- gst/debugutils/gstfakevideosink.c | 3 ++- gst/fieldanalysis/gstfieldanalysis.c | 6 +++--- gst/geometrictransform/gstgeometrictransform.c | 2 +- gst/geometrictransform/gstmirror.c | 2 +- gst/interlace/gstinterlace.c | 2 +- gst/mpegtsmux/gstbasetsmux.c | 2 +- gst/mxf/mxfmux.c | 2 +- gst/netsim/gstnetsim.c | 2 +- gst/rawparse/gstaudioparse.c | 2 +- gst/rist/gstristsink.c | 2 +- gst/rtmp2/gstrtmp2.c | 4 ++-- gst/timecode/gstavwait.c | 2 +- gst/timecode/gsttimecodestamper.c | 4 ++-- gst/yadif/gstyadif.c | 2 +- sys/decklink/gstdecklink.cpp | 16 ++++++++-------- sys/dvb/gstdvbsrc.c | 22 +++++++++++----------- sys/uvch264/gstuvch264_src.c | 8 ++++---- 54 files changed, 104 insertions(+), 102 deletions(-) diff --git a/ext/aom/gstav1enc.c b/ext/aom/gstav1enc.c index d63087d..049460b 100644 --- a/ext/aom/gstav1enc.c +++ b/ext/aom/gstav1enc.c @@ -398,9 +398,9 @@ gst_av1_enc_class_init (GstAV1EncClass * klass) "can enable parallel encoding", 0, 6, DEFAULT_TILE_ROWS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_type_mark_as_plugin_api (GST_TYPE_END_USAGE_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_RESIZE_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_SUPERRES_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_END_USAGE_MODE, 0); + gst_type_mark_as_plugin_api (GST_TYPE_RESIZE_MODE, 0); + gst_type_mark_as_plugin_api (GST_TYPE_SUPERRES_MODE, 0); } static void diff --git a/ext/closedcaption/gstceaccoverlay.c b/ext/closedcaption/gstceaccoverlay.c index 9a4b19a..e40d14d 100644 --- a/ext/closedcaption/gstceaccoverlay.c +++ b/ext/closedcaption/gstceaccoverlay.c @@ -285,7 +285,7 @@ gst_base_cea_cc_overlay_class_init (GstCeaCcOverlayClass * klass) "Chengjun Wang "); gst_cea708_decoder_init_debug (); - gst_type_mark_as_plugin_api (GST_TYPE_CC_OVERLAY_WIN_H_POS); + gst_type_mark_as_plugin_api (GST_TYPE_CC_OVERLAY_WIN_H_POS, 0); } diff --git a/ext/colormanagement/gstlcms.c b/ext/colormanagement/gstlcms.c index 30c680a..ebcc443 100644 --- a/ext/colormanagement/gstlcms.c +++ b/ext/colormanagement/gstlcms.c @@ -226,8 +226,8 @@ gst_lcms_class_init (GstLcmsClass * klass) GST_DEBUG_FUNCPTR (gst_lcms_transform_frame_ip); vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_lcms_transform_frame); - gst_type_mark_as_plugin_api (GST_TYPE_LCMS_INTENT); - gst_type_mark_as_plugin_api (GST_TYPE_LCMS_LOOKUP_METHOD); + gst_type_mark_as_plugin_api (GST_TYPE_LCMS_INTENT, 0); + gst_type_mark_as_plugin_api (GST_TYPE_LCMS_LOOKUP_METHOD, 0); } static void diff --git a/ext/curl/gstcurlhttpsrc.c b/ext/curl/gstcurlhttpsrc.c index 5d0f3dd..149c283 100644 --- a/ext/curl/gstcurlhttpsrc.c +++ b/ext/curl/gstcurlhttpsrc.c @@ -490,7 +490,7 @@ gst_curl_http_src_class_init (GstCurlHttpSrcClass * klass) "Receiver data as a client over a network via HTTP using cURL", "Sam Hurst "); - gst_type_mark_as_plugin_api (GST_TYPE_CURL_HTTP_VERSION); + gst_type_mark_as_plugin_api (GST_TYPE_CURL_HTTP_VERSION, 0); } static void diff --git a/ext/curl/gstcurlsshsink.c b/ext/curl/gstcurlsshsink.c index 3f570b7..3199d7a 100644 --- a/ext/curl/gstcurlsshsink.c +++ b/ext/curl/gstcurlsshsink.c @@ -175,7 +175,7 @@ gst_curl_ssh_sink_class_init (GstCurlSshSinkClass * klass) "Accept an unknown remote public host key", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_type_mark_as_plugin_api (GST_TYPE_CURL_SSH_SINK_AUTH_TYPE); + gst_type_mark_as_plugin_api (GST_TYPE_CURL_SSH_SINK_AUTH_TYPE, 0); } static void diff --git a/ext/dash/gstdashsink.c b/ext/dash/gstdashsink.c index c54eb67..625750f 100644 --- a/ext/dash/gstdashsink.c +++ b/ext/dash/gstdashsink.c @@ -445,7 +445,7 @@ gst_dash_sink_class_init (GstDashSinkClass * klass) G_MAXUINT64, DEFAULT_MPD_PERIOD_DURATION, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_type_mark_as_plugin_api (GST_TYPE_DASH_SINK_MUXER); + gst_type_mark_as_plugin_api (GST_TYPE_DASH_SINK_MUXER, 0); } static gboolean diff --git a/ext/dc1394/gstdc1394src.c b/ext/dc1394/gstdc1394src.c index e2ee81f..b96a738 100644 --- a/ext/dc1394/gstdc1394src.c +++ b/ext/dc1394/gstdc1394src.c @@ -183,7 +183,7 @@ gst_dc1394_src_class_init (GstDC1394SrcClass * klass) pushsrc_class->create = GST_DEBUG_FUNCPTR (gst_dc1394_src_create); - gst_type_mark_as_plugin_api (GST_TYPE_DC1394_ISO_SPEED); + gst_type_mark_as_plugin_api (GST_TYPE_DC1394_ISO_SPEED, 0); } diff --git a/ext/dtls/plugin.c b/ext/dtls/plugin.c index 7f78ca2..78a9980 100644 --- a/ext/dtls/plugin.c +++ b/ext/dtls/plugin.c @@ -38,7 +38,7 @@ static gboolean plugin_init (GstPlugin * plugin) { - gst_type_mark_as_plugin_api (GST_DTLS_TYPE_CONNECTION_STATE); + gst_type_mark_as_plugin_api (GST_DTLS_TYPE_CONNECTION_STATE, 0); return gst_element_register (plugin, "dtlsenc", GST_RANK_NONE, GST_TYPE_DTLS_ENC) diff --git a/ext/mpeg2enc/gstmpeg2encoptions.cc b/ext/mpeg2enc/gstmpeg2encoptions.cc index 42df359..59265e0 100644 --- a/ext/mpeg2enc/gstmpeg2encoptions.cc +++ b/ext/mpeg2enc/gstmpeg2encoptions.cc @@ -503,13 +503,13 @@ GstMpeg2EncOptions::initProperties (GObjectClass * klass) FALSE, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); #endif - gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_ASPECT); - gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_FORMAT); - gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_FRAMERATE); - gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_INTERLACE_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_VIDEO_NORM); - gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_PLAYBACK_FIELD_ORDER); - gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_QUANTISATION_MATRIX); + gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_ASPECT, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_FORMAT, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_FRAMERATE, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_INTERLACE_MODE, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_VIDEO_NORM, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_PLAYBACK_FIELD_ORDER, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_QUANTISATION_MATRIX, (GstPluginAPIFlags) 0); } /* diff --git a/ext/mplex/gstmplexjob.cc b/ext/mplex/gstmplexjob.cc index 397ea96..3fd010e 100644 --- a/ext/mplex/gstmplexjob.cc +++ b/ext/mplex/gstmplexjob.cc @@ -162,7 +162,7 @@ GstMplexJob::initProperties (GObjectClass * klass) 256, 16384, 2048, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); - gst_type_mark_as_plugin_api (GST_TYPE_MPLEX_FORMAT); + gst_type_mark_as_plugin_api (GST_TYPE_MPLEX_FORMAT, (GstPluginAPIFlags) 0); } /* diff --git a/ext/opencv/gstcameracalibrate.cpp b/ext/opencv/gstcameracalibrate.cpp index b28d014..16f8e30 100644 --- a/ext/opencv/gstcameracalibrate.cpp +++ b/ext/opencv/gstcameracalibrate.cpp @@ -289,7 +289,7 @@ gst_camera_calibrate_class_init (GstCameraCalibrateClass * klass) templ = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, caps); gst_element_class_add_pad_template (element_class, templ); - gst_type_mark_as_plugin_api (GST_TYPE_CAMERA_CALIBRATION_PATTERN); + gst_type_mark_as_plugin_api (GST_TYPE_CAMERA_CALIBRATION_PATTERN, (GstPluginAPIFlags) 0); } /* initialize the new element diff --git a/ext/opencv/gstcvsmooth.cpp b/ext/opencv/gstcvsmooth.cpp index a8dc585..0aef401 100644 --- a/ext/opencv/gstcvsmooth.cpp +++ b/ext/opencv/gstcvsmooth.cpp @@ -234,7 +234,7 @@ gst_cv_smooth_class_init (GstCvSmoothClass * klass) gst_element_class_add_pad_template (element_class, templ); gst_caps_unref (caps); - gst_type_mark_as_plugin_api (GST_TYPE_CV_SMOOTH_TYPE); + gst_type_mark_as_plugin_api (GST_TYPE_CV_SMOOTH_TYPE, (GstPluginAPIFlags) 0); } /* initialize the new element diff --git a/ext/opencv/gstdewarp.cpp b/ext/opencv/gstdewarp.cpp index c9aa04b..e7828ae 100644 --- a/ext/opencv/gstdewarp.cpp +++ b/ext/opencv/gstdewarp.cpp @@ -256,8 +256,8 @@ gst_dewarp_class_init (GstDewarpClass * klass) gst_element_class_add_static_pad_template (element_class, &src_factory); gst_element_class_add_static_pad_template (element_class, &sink_factory); - gst_type_mark_as_plugin_api (GST_TYPE_DEWARP_DISPLAY_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_DEWARP_INTERPOLATION_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_DEWARP_DISPLAY_MODE, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_DEWARP_INTERPOLATION_MODE, (GstPluginAPIFlags) 0); } static void diff --git a/ext/opencv/gstdisparity.cpp b/ext/opencv/gstdisparity.cpp index 678be75..0c8b9cf 100644 --- a/ext/opencv/gstdisparity.cpp +++ b/ext/opencv/gstdisparity.cpp @@ -233,7 +233,7 @@ gst_disparity_class_init (GstDisparityClass * klass) gst_element_class_add_static_pad_template (element_class, &src_factory); gst_element_class_add_static_pad_template (element_class, &sink_factory); - gst_type_mark_as_plugin_api (GST_TYPE_DISPARITY_METHOD); + gst_type_mark_as_plugin_api (GST_TYPE_DISPARITY_METHOD, (GstPluginAPIFlags) 0); } /* initialize the new element diff --git a/ext/opencv/gstfaceblur.cpp b/ext/opencv/gstfaceblur.cpp index 4451263..b53a4fe 100644 --- a/ext/opencv/gstfaceblur.cpp +++ b/ext/opencv/gstfaceblur.cpp @@ -232,7 +232,7 @@ gst_face_blur_class_init (GstFaceBlurClass * klass) gst_element_class_add_static_pad_template (element_class, &src_factory); gst_element_class_add_static_pad_template (element_class, &sink_factory); - gst_type_mark_as_plugin_api (GST_TYPE_OPENCV_FACE_BLUR_FLAGS); + gst_type_mark_as_plugin_api (GST_TYPE_OPENCV_FACE_BLUR_FLAGS, (GstPluginAPIFlags) 0); } /* initialize the new element diff --git a/ext/opencv/gstfacedetect.cpp b/ext/opencv/gstfacedetect.cpp index 59c35e4..bab1fb9 100644 --- a/ext/opencv/gstfacedetect.cpp +++ b/ext/opencv/gstfacedetect.cpp @@ -357,8 +357,8 @@ gst_face_detect_class_init (GstFaceDetectClass * klass) gst_element_class_add_static_pad_template (element_class, &src_factory); gst_element_class_add_static_pad_template (element_class, &sink_factory); - gst_type_mark_as_plugin_api (GST_TYPE_OPENCV_FACE_DETECT_FLAGS); - gst_type_mark_as_plugin_api (GST_TYPE_FACE_DETECT_UPDATES); + gst_type_mark_as_plugin_api (GST_TYPE_OPENCV_FACE_DETECT_FLAGS, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_FACE_DETECT_UPDATES, (GstPluginAPIFlags) 0); } /* initialize the new element diff --git a/ext/opencv/gstretinex.cpp b/ext/opencv/gstretinex.cpp index d6b8b80..cd8bc6e 100644 --- a/ext/opencv/gstretinex.cpp +++ b/ext/opencv/gstretinex.cpp @@ -168,7 +168,7 @@ gst_retinex_class_init (GstRetinexClass * klass) gst_element_class_add_static_pad_template (element_class, &src_factory); gst_element_class_add_static_pad_template (element_class, &sink_factory); - gst_type_mark_as_plugin_api (GST_TYPE_RETINEX_METHOD); + gst_type_mark_as_plugin_api (GST_TYPE_RETINEX_METHOD, (GstPluginAPIFlags) 0); } /* initialize the new element diff --git a/ext/opencv/gstsegmentation.cpp b/ext/opencv/gstsegmentation.cpp index 463ea75..a93bdd5 100644 --- a/ext/opencv/gstsegmentation.cpp +++ b/ext/opencv/gstsegmentation.cpp @@ -226,7 +226,7 @@ gst_segmentation_class_init (GstSegmentationClass * klass) gst_element_class_add_static_pad_template (element_class, &src_factory); gst_element_class_add_static_pad_template (element_class, &sink_factory); - gst_type_mark_as_plugin_api (GST_TYPE_SEGMENTATION_METHOD); + gst_type_mark_as_plugin_api (GST_TYPE_SEGMENTATION_METHOD, (GstPluginAPIFlags) 0); } /* initialize the new element diff --git a/ext/opencv/gstskindetect.cpp b/ext/opencv/gstskindetect.cpp index c6f3c50..b1f031d 100644 --- a/ext/opencv/gstskindetect.cpp +++ b/ext/opencv/gstskindetect.cpp @@ -165,7 +165,7 @@ gst_skin_detect_class_init (GstSkinDetectClass * klass) gstopencvbasefilter_class->cv_set_caps = gst_skin_detect_set_caps; - gst_type_mark_as_plugin_api (GST_TYPE_SKIN_DETECT_METHOD); + gst_type_mark_as_plugin_api (GST_TYPE_SKIN_DETECT_METHOD, (GstPluginAPIFlags) 0); } /* initialize the new element diff --git a/ext/openh264/gstopenh264enc.cpp b/ext/openh264/gstopenh264enc.cpp index 2276098..c725138 100644 --- a/ext/openh264/gstopenh264enc.cpp +++ b/ext/openh264/gstopenh264enc.cpp @@ -366,11 +366,11 @@ gst_openh264enc_class_init (GstOpenh264EncClass * klass) "Complexity", GST_TYPE_OPENH264ENC_COMPLEXITY, DEFAULT_COMPLEXITY, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); - gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_COMPLEXITY); - gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_DEBLOCKING_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_SLICE_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_RC_MODES); - gst_type_mark_as_plugin_api (GST_TYPE_USAGE_TYPE); + gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_COMPLEXITY, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_DEBLOCKING_MODE, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_SLICE_MODE, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_RC_MODES, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_USAGE_TYPE, (GstPluginAPIFlags) 0); } static void diff --git a/ext/openjpeg/gstopenjpegenc.c b/ext/openjpeg/gstopenjpegenc.c index 8310149..307d753 100644 --- a/ext/openjpeg/gstopenjpegenc.c +++ b/ext/openjpeg/gstopenjpegenc.c @@ -219,7 +219,7 @@ gst_openjpeg_enc_class_init (GstOpenJPEGEncClass * klass) GST_DEBUG_CATEGORY_INIT (gst_openjpeg_enc_debug, "openjpegenc", 0, "OpenJPEG Encoder"); - gst_type_mark_as_plugin_api (GST_OPENJPEG_ENC_TYPE_PROGRESSION_ORDER); + gst_type_mark_as_plugin_api (GST_OPENJPEG_ENC_TYPE_PROGRESSION_ORDER, 0); } static void diff --git a/ext/srtp/gstsrtp.c b/ext/srtp/gstsrtp.c index cd21135..b607b2c 100644 --- a/ext/srtp/gstsrtp.c +++ b/ext/srtp/gstsrtp.c @@ -309,8 +309,8 @@ plugin_init (GstPlugin * plugin) if (!gst_srtp_dec_plugin_init (plugin)) return FALSE; - gst_type_mark_as_plugin_api (GST_TYPE_SRTP_AUTH_TYPE); - gst_type_mark_as_plugin_api (GST_TYPE_SRTP_CIPHER_TYPE); + gst_type_mark_as_plugin_api (GST_TYPE_SRTP_AUTH_TYPE, 0); + gst_type_mark_as_plugin_api (GST_TYPE_SRTP_CIPHER_TYPE, 0); return TRUE; } diff --git a/ext/voamrwbenc/gstvoamrwbenc.c b/ext/voamrwbenc/gstvoamrwbenc.c index 3d4c5ea..3e4eff0 100644 --- a/ext/voamrwbenc/gstvoamrwbenc.c +++ b/ext/voamrwbenc/gstvoamrwbenc.c @@ -184,7 +184,7 @@ gst_voamrwbenc_class_init (GstVoAmrWbEncClass * klass) GST_DEBUG_CATEGORY_INIT (gst_voamrwbenc_debug, "voamrwbenc", 0, "voamrwb encoder"); - gst_type_mark_as_plugin_api (GST_VOAMRWBENC_BANDMODE_TYPE); + gst_type_mark_as_plugin_api (GST_VOAMRWBENC_BANDMODE_TYPE, 0); } static void diff --git a/ext/webp/gstwebpenc.c b/ext/webp/gstwebpenc.c index da4afc0..edf236e 100644 --- a/ext/webp/gstwebpenc.c +++ b/ext/webp/gstwebpenc.c @@ -158,7 +158,7 @@ gst_webp_enc_class_init (GstWebpEncClass * klass) GST_DEBUG_CATEGORY_INIT (webpenc_debug, "webpenc", 0, "WEBP encoding element"); - gst_type_mark_as_plugin_api (GST_WEBP_ENC_PRESET_TYPE); + gst_type_mark_as_plugin_api (GST_WEBP_ENC_PRESET_TYPE, 0); } static void diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index 2485a06..6df7f46 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -6454,8 +6454,8 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass) G_CALLBACK (gst_webrtc_bin_create_data_channel), NULL, NULL, NULL, GST_TYPE_WEBRTC_DATA_CHANNEL, 2, G_TYPE_STRING, GST_TYPE_STRUCTURE); - gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_BIN_PAD); - gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_ICE); + gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_BIN_PAD, 0); + gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_ICE, 0); } static void diff --git a/ext/webrtcdsp/gstwebrtcdsp.cpp b/ext/webrtcdsp/gstwebrtcdsp.cpp index d26bad8..87de1bc 100644 --- a/ext/webrtcdsp/gstwebrtcdsp.cpp +++ b/ext/webrtcdsp/gstwebrtcdsp.cpp @@ -1113,10 +1113,10 @@ gst_webrtc_dsp_class_init (GstWebrtcDspClass * klass) (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT))); - gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_GAIN_CONTROL_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_NOISE_SUPPRESSION_LEVEL); - gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_ECHO_SUPPRESSION_LEVEL); - gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_VOICE_DETECTION_LIKELIHOOD); + gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_GAIN_CONTROL_MODE, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_NOISE_SUPPRESSION_LEVEL, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_ECHO_SUPPRESSION_LEVEL, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_VOICE_DETECTION_LIKELIHOOD, (GstPluginAPIFlags) 0); } static gboolean diff --git a/ext/x265/gstx265enc.c b/ext/x265/gstx265enc.c index 5367a9a..60496e3 100644 --- a/ext/x265/gstx265enc.c +++ b/ext/x265/gstx265enc.c @@ -543,9 +543,9 @@ gst_x265_enc_class_init (GstX265EncClass * klass) gst_element_class_add_pad_template (element_class, sink_templ); gst_element_class_add_static_pad_template (element_class, &src_factory); - gst_type_mark_as_plugin_api (GST_X265_ENC_LOG_LEVEL_TYPE); - gst_type_mark_as_plugin_api (GST_X265_ENC_SPEED_PRESET_TYPE); - gst_type_mark_as_plugin_api (GST_X265_ENC_TUNE_TYPE); + gst_type_mark_as_plugin_api (GST_X265_ENC_LOG_LEVEL_TYPE, 0); + gst_type_mark_as_plugin_api (GST_X265_ENC_SPEED_PRESET_TYPE, 0); + gst_type_mark_as_plugin_api (GST_X265_ENC_TUNE_TYPE, 0); } /* initialize the new element diff --git a/gst-libs/gst/audio/gstnonstreamaudiodecoder.c b/gst-libs/gst/audio/gstnonstreamaudiodecoder.c index a091d7c..9996697 100644 --- a/gst-libs/gst/audio/gstnonstreamaudiodecoder.c +++ b/gst-libs/gst/audio/gstnonstreamaudiodecoder.c @@ -458,8 +458,9 @@ gst_nonstream_audio_decoder_class_init (GstNonstreamAudioDecoderClass * klass) DEFAULT_OUTPUT_MODE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS) ); - gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_OUTPUT_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_SUBSONG_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_OUTPUT_MODE, 0); + gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_SUBSONG_MODE, + 0); } diff --git a/gst/adpcmenc/adpcmenc.c b/gst/adpcmenc/adpcmenc.c index 0a603df..52962e4 100644 --- a/gst/adpcmenc/adpcmenc.c +++ b/gst/adpcmenc/adpcmenc.c @@ -464,7 +464,7 @@ adpcmenc_class_init (ADPCMEncClass * klass) DEFAULT_ADPCM_BLOCK_SIZE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_type_mark_as_plugin_api (GST_TYPE_ADPCMENC_LAYOUT); + gst_type_mark_as_plugin_api (GST_TYPE_ADPCMENC_LAYOUT, 0); } static gboolean diff --git a/gst/audiomixmatrix/gstaudiomixmatrix.c b/gst/audiomixmatrix/gstaudiomixmatrix.c index 537cfb9..77b5c92 100644 --- a/gst/audiomixmatrix/gstaudiomixmatrix.c +++ b/gst/audiomixmatrix/gstaudiomixmatrix.c @@ -217,7 +217,7 @@ gst_audio_mix_matrix_class_init (GstAudioMixMatrixClass * klass) element_class->change_state = GST_DEBUG_FUNCPTR (gst_audio_mix_matrix_change_state); - gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_MIX_MATRIX_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_MIX_MATRIX_MODE, 0); } static void diff --git a/gst/audiovisualizers/gstspacescope.c b/gst/audiovisualizers/gstspacescope.c index 146cff8..b14f7fc 100644 --- a/gst/audiovisualizers/gstspacescope.c +++ b/gst/audiovisualizers/gstspacescope.c @@ -149,7 +149,7 @@ gst_space_scope_class_init (GstSpaceScopeClass * g_class) GST_TYPE_SPACE_SCOPE_STYLE, STYLE_DOTS, G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_type_mark_as_plugin_api (GST_TYPE_SPACE_SCOPE_STYLE); + gst_type_mark_as_plugin_api (GST_TYPE_SPACE_SCOPE_STYLE, 0); } static void diff --git a/gst/audiovisualizers/gstwavescope.c b/gst/audiovisualizers/gstwavescope.c index 917443e..f584b69 100644 --- a/gst/audiovisualizers/gstwavescope.c +++ b/gst/audiovisualizers/gstwavescope.c @@ -153,7 +153,7 @@ gst_wave_scope_class_init (GstWaveScopeClass * g_class) gst_element_class_add_static_pad_template (gstelement_class, &gst_wave_scope_sink_template); - gst_type_mark_as_plugin_api (GST_TYPE_WAVE_SCOPE_STYLE); + gst_type_mark_as_plugin_api (GST_TYPE_WAVE_SCOPE_STYLE, 0); } static void diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index e375ccf..9fd03e0 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -846,8 +846,8 @@ gst_camera_bin_class_init (GstCameraBin2Class * klass) G_STRUCT_OFFSET (GstCameraBin2Class, stop_capture), NULL, NULL, NULL, G_TYPE_NONE, 0); - gst_type_mark_as_plugin_api (GST_TYPE_CAM_FLAGS); - gst_type_mark_as_plugin_api (GST_TYPE_CAMERABIN_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_CAM_FLAGS, 0); + gst_type_mark_as_plugin_api (GST_TYPE_CAMERABIN_MODE, 0); } static void diff --git a/gst/coloreffects/gstcoloreffects.c b/gst/coloreffects/gstcoloreffects.c index 04a88f6..ecbc3fc 100644 --- a/gst/coloreffects/gstcoloreffects.c +++ b/gst/coloreffects/gstcoloreffects.c @@ -595,7 +595,7 @@ gst_color_effects_class_init (GstColorEffectsClass * klass) gst_element_class_add_static_pad_template (element_class, &gst_color_effects_src_template); - gst_type_mark_as_plugin_api (GST_TYPE_COLOR_EFFECTS_PRESET); + gst_type_mark_as_plugin_api (GST_TYPE_COLOR_EFFECTS_PRESET, 0); } static void diff --git a/gst/debugutils/gstchecksumsink.c b/gst/debugutils/gstchecksumsink.c index 2521db6..337fba0 100644 --- a/gst/debugutils/gstchecksumsink.c +++ b/gst/debugutils/gstchecksumsink.c @@ -101,7 +101,7 @@ gst_checksum_sink_class_init (GstChecksumSinkClass * klass) "Debug/Sink", "Calculates a checksum for buffers", "David Schleef "); - gst_type_mark_as_plugin_api (gst_checksum_sink_hash_get_type ()); + gst_type_mark_as_plugin_api (gst_checksum_sink_hash_get_type (), 0); } static void diff --git a/gst/debugutils/gstclockselect.c b/gst/debugutils/gstclockselect.c index 3fa1a04..759c5a2 100644 --- a/gst/debugutils/gstclockselect.c +++ b/gst/debugutils/gstclockselect.c @@ -122,7 +122,7 @@ gst_clock_select_class_init (GstClockSelectClass * klass) gstelement_class->provide_clock = GST_DEBUG_FUNCPTR (gst_clock_select_provide_clock); - gst_type_mark_as_plugin_api (GST_TYPE_CLOCK_SELECT_CLOCK_ID); + gst_type_mark_as_plugin_api (GST_TYPE_CLOCK_SELECT_CLOCK_ID, 0); } static void diff --git a/gst/debugutils/gstcompare.c b/gst/debugutils/gstcompare.c index 0834da6..196d79b 100644 --- a/gst/debugutils/gstcompare.c +++ b/gst/debugutils/gstcompare.c @@ -177,7 +177,7 @@ gst_compare_class_init (GstCompareClass * klass) "Filter/Debug", "Compares incoming buffers", "Mark Nauwelaerts "); - gst_type_mark_as_plugin_api (GST_COMPARE_METHOD_TYPE); + gst_type_mark_as_plugin_api (GST_COMPARE_METHOD_TYPE, 0); } static void diff --git a/gst/debugutils/gstfakevideosink.c b/gst/debugutils/gstfakevideosink.c index c4948aa..3ebc9a3 100644 --- a/gst/debugutils/gstfakevideosink.c +++ b/gst/debugutils/gstfakevideosink.c @@ -316,5 +316,6 @@ gst_fake_video_sink_class_init (GstFakeVideoSinkClass * klass) "Video/Sink", "Fake video display that allows zero-copy", "Nicolas Dufresne "); - gst_type_mark_as_plugin_api (GST_TYPE_FAKE_VIDEO_SINK_ALLOCATION_META_FLAGS); + gst_type_mark_as_plugin_api (GST_TYPE_FAKE_VIDEO_SINK_ALLOCATION_META_FLAGS, + 0); } diff --git a/gst/fieldanalysis/gstfieldanalysis.c b/gst/fieldanalysis/gstfieldanalysis.c index d3f8022..644a91e 100644 --- a/gst/fieldanalysis/gstfieldanalysis.c +++ b/gst/fieldanalysis/gstfieldanalysis.c @@ -287,9 +287,9 @@ gst_field_analysis_class_init (GstFieldAnalysisClass * klass) gst_element_class_add_static_pad_template (gstelement_class, &src_factory); gst_element_class_add_static_pad_template (gstelement_class, &sink_factory); - gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_COMB_METHOD); - gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_FIELD_METRIC); - gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_FRAME_METRIC); + gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_COMB_METHOD, 0); + gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_FIELD_METRIC, 0); + gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_FRAME_METRIC, 0); } static gfloat same_parity_sad (GstFieldAnalysis * filter, diff --git a/gst/geometrictransform/gstgeometrictransform.c b/gst/geometrictransform/gstgeometrictransform.c index b3f9be5..c9e4f5f 100644 --- a/gst/geometrictransform/gstgeometrictransform.c +++ b/gst/geometrictransform/gstgeometrictransform.c @@ -389,7 +389,7 @@ gst_geometric_transform_class_init (gpointer klass, gpointer class_data) GST_GT_OFF_EDGES_PIXELS_METHOD_TYPE, DEFAULT_OFF_EDGE_PIXELS, GST_PARAM_CONTROLLABLE | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_type_mark_as_plugin_api (GST_GT_OFF_EDGES_PIXELS_METHOD_TYPE); + gst_type_mark_as_plugin_api (GST_GT_OFF_EDGES_PIXELS_METHOD_TYPE, 0); } static void diff --git a/gst/geometrictransform/gstmirror.c b/gst/geometrictransform/gstmirror.c index 53edb66..e7b29c1 100644 --- a/gst/geometrictransform/gstmirror.c +++ b/gst/geometrictransform/gstmirror.c @@ -227,7 +227,7 @@ gst_mirror_class_init (GstMirrorClass * klass) gstgt_class->map_func = mirror_map; - gst_type_mark_as_plugin_api (GST_TYPE_MIRROR_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_MIRROR_MODE, 0); } static void diff --git a/gst/interlace/gstinterlace.c b/gst/interlace/gstinterlace.c index 4c65466..635a99b 100644 --- a/gst/interlace/gstinterlace.c +++ b/gst/interlace/gstinterlace.c @@ -260,7 +260,7 @@ gst_interlace_class_init (GstInterlaceClass * klass) element_class->change_state = gst_interlace_change_state; - gst_type_mark_as_plugin_api (GST_INTERLACE_PATTERN); + gst_type_mark_as_plugin_api (GST_INTERLACE_PATTERN, 0); } static void diff --git a/gst/mpegtsmux/gstbasetsmux.c b/gst/mpegtsmux/gstbasetsmux.c index 63eeb15..4ed2fae 100644 --- a/gst/mpegtsmux/gstbasetsmux.c +++ b/gst/mpegtsmux/gstbasetsmux.c @@ -1991,7 +1991,7 @@ gst_base_ts_mux_class_init (GstBaseTsMuxClass * klass) gst_element_class_add_static_pad_template_with_gtype (gstelement_class, &gst_base_ts_mux_src_factory, GST_TYPE_AGGREGATOR_PAD); - gst_type_mark_as_plugin_api (GST_TYPE_BASE_TS_MUX_PAD); + gst_type_mark_as_plugin_api (GST_TYPE_BASE_TS_MUX_PAD, 0); } static void diff --git a/gst/mxf/mxfmux.c b/gst/mxf/mxfmux.c index eafc819..1fb9c6f 100644 --- a/gst/mxf/mxfmux.c +++ b/gst/mxf/mxfmux.c @@ -186,7 +186,7 @@ gst_mxf_mux_class_init (GstMXFMuxClass * klass) "Muxes video/audio streams into a MXF stream", "Sebastian Dröge "); - gst_type_mark_as_plugin_api (GST_TYPE_MXF_MUX_PAD); + gst_type_mark_as_plugin_api (GST_TYPE_MXF_MUX_PAD, 0); } static void diff --git a/gst/netsim/gstnetsim.c b/gst/netsim/gstnetsim.c index af436e3..e0771b8 100644 --- a/gst/netsim/gstnetsim.c +++ b/gst/netsim/gstnetsim.c @@ -757,7 +757,7 @@ gst_net_sim_class_init (GstNetSimClass * klass) GST_DEBUG_CATEGORY_INIT (netsim_debug, "netsim", 0, "Network simulator"); - gst_type_mark_as_plugin_api (distribution_get_type ()); + gst_type_mark_as_plugin_api (distribution_get_type (), 0); } static gboolean diff --git a/gst/rawparse/gstaudioparse.c b/gst/rawparse/gstaudioparse.c index 3f1c4eb..6e4c647 100644 --- a/gst/rawparse/gstaudioparse.c +++ b/gst/rawparse/gstaudioparse.c @@ -185,7 +185,7 @@ gst_audio_parse_class_init (GstAudioParseClass * klass) GST_DEBUG_CATEGORY_INIT (gst_audio_parse_debug, "audioparse", 0, "audioparse element"); - gst_type_mark_as_plugin_api (GST_AUDIO_PARSE_FORMAT); + gst_type_mark_as_plugin_api (GST_AUDIO_PARSE_FORMAT, 0); } static void diff --git a/gst/rist/gstristsink.c b/gst/rist/gstristsink.c index 4440e98..3f649b0 100644 --- a/gst/rist/gstristsink.c +++ b/gst/rist/gstristsink.c @@ -1423,5 +1423,5 @@ gst_rist_sink_class_init (GstRistSinkClass * klass) "Add sequence number extension to packets.", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT)); - gst_type_mark_as_plugin_api (gst_rist_bonding_method_get_type ()); + gst_type_mark_as_plugin_api (gst_rist_bonding_method_get_type (), 0); } diff --git a/gst/rtmp2/gstrtmp2.c b/gst/rtmp2/gstrtmp2.c index 999b265..144d391 100644 --- a/gst/rtmp2/gstrtmp2.c +++ b/gst/rtmp2/gstrtmp2.c @@ -36,8 +36,8 @@ plugin_init (GstPlugin * plugin) gst_element_register (plugin, "rtmp2sink", GST_RANK_PRIMARY + 1, GST_TYPE_RTMP2_SINK); - gst_type_mark_as_plugin_api (GST_TYPE_RTMP_SCHEME); - gst_type_mark_as_plugin_api (GST_TYPE_RTMP_AUTHMOD); + gst_type_mark_as_plugin_api (GST_TYPE_RTMP_SCHEME, 0); + gst_type_mark_as_plugin_api (GST_TYPE_RTMP_AUTHMOD, 0); return TRUE; } diff --git a/gst/timecode/gstavwait.c b/gst/timecode/gstavwait.c index 59bf7f2..1b6bc2f 100644 --- a/gst/timecode/gstavwait.c +++ b/gst/timecode/gstavwait.c @@ -231,7 +231,7 @@ gst_avwait_class_init (GstAvWaitClass * klass) gst_element_class_add_static_pad_template (gstelement_class, &video_sink_template); - gst_type_mark_as_plugin_api (GST_TYPE_AVWAIT_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_AVWAIT_MODE, 0); } static void diff --git a/gst/timecode/gsttimecodestamper.c b/gst/timecode/gsttimecodestamper.c index 4ac015f..ebb2300 100644 --- a/gst/timecode/gsttimecodestamper.c +++ b/gst/timecode/gsttimecodestamper.c @@ -332,8 +332,8 @@ gst_timecodestamper_class_init (GstTimeCodeStamperClass * klass) trans_class->transform_ip = GST_DEBUG_FUNCPTR (gst_timecodestamper_transform_ip); - gst_type_mark_as_plugin_api (GST_TYPE_TIME_CODE_STAMPER_SOURCE); - gst_type_mark_as_plugin_api (GST_TYPE_TIME_CODE_STAMPER_SET); + gst_type_mark_as_plugin_api (GST_TYPE_TIME_CODE_STAMPER_SOURCE, 0); + gst_type_mark_as_plugin_api (GST_TYPE_TIME_CODE_STAMPER_SET, 0); } static void diff --git a/gst/yadif/gstyadif.c b/gst/yadif/gstyadif.c index e649154..c055b556 100644 --- a/gst/yadif/gstyadif.c +++ b/gst/yadif/gstyadif.c @@ -160,7 +160,7 @@ gst_yadif_class_init (GstYadifClass * klass) DEFAULT_MODE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); - gst_type_mark_as_plugin_api (GST_TYPE_DEINTERLACE_MODES); + gst_type_mark_as_plugin_api (GST_TYPE_DEINTERLACE_MODES, 0); } static void diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp index 1c67cb2..0f0e45f 100644 --- a/sys/decklink/gstdecklink.cpp +++ b/sys/decklink/gstdecklink.cpp @@ -2055,14 +2055,14 @@ plugin_init (GstPlugin * plugin) gst_device_provider_register (plugin, "decklinkdeviceprovider", GST_RANK_PRIMARY, GST_TYPE_DECKLINK_DEVICE_PROVIDER); - gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_AUDIO_CHANNELS); - gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_AUDIO_CONNECTION); - gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_DUPLEX_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_KEYER_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_MODE); - gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_TIMECODE_FORMAT); - gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_VIDEO_FORMAT); - gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_CONNECTION); + gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_AUDIO_CHANNELS, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_AUDIO_CONNECTION, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_DUPLEX_MODE, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_KEYER_MODE, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_MODE, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_TIMECODE_FORMAT, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_VIDEO_FORMAT, (GstPluginAPIFlags) 0); + gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_CONNECTION, (GstPluginAPIFlags) 0); return TRUE; } diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c index 01da496..ca6b92a 100644 --- a/sys/dvb/gstdvbsrc.c +++ b/sys/dvb/gstdvbsrc.c @@ -1012,17 +1012,17 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) G_STRUCT_OFFSET (GstDvbSrcClass, do_tune), NULL, NULL, NULL, G_TYPE_NONE, 0); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_BANDWIDTH); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_CODE_RATE); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_DELSYS); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_GUARD); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_HIERARCHY); - gst_type_mark_as_plugin_api (GST_TYPE_INTERLEAVING); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_INVERSION); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_MODULATION); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_PILOT); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_ROLLOFF); - gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_TRANSMISSION_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_BANDWIDTH, 0); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_CODE_RATE, 0); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_DELSYS, 0); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_GUARD, 0); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_HIERARCHY, 0); + gst_type_mark_as_plugin_api (GST_TYPE_INTERLEAVING, 0); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_INVERSION, 0); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_MODULATION, 0); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_PILOT, 0); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_ROLLOFF, 0); + gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_TRANSMISSION_MODE, 0); } /* initialize the new element diff --git a/sys/uvch264/gstuvch264_src.c b/sys/uvch264/gstuvch264_src.c index c5708ef..db7675d 100644 --- a/sys/uvch264/gstuvch264_src.c +++ b/sys/uvch264/gstuvch264_src.c @@ -460,10 +460,10 @@ gst_uvc_h264_src_class_init (GstUvcH264SrcClass * klass) G_TYPE_BOOLEAN, 4, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_POINTER, G_TYPE_POINTER, 0); - gst_type_mark_as_plugin_api (UVC_H264_ENTROPY_TYPE); - gst_type_mark_as_plugin_api (UVC_H264_RATECONTROL_TYPE); - gst_type_mark_as_plugin_api (UVC_H264_SLICEMODE_TYPE); - gst_type_mark_as_plugin_api (UVC_H264_USAGETYPE_TYPE); + gst_type_mark_as_plugin_api (UVC_H264_ENTROPY_TYPE, 0); + gst_type_mark_as_plugin_api (UVC_H264_RATECONTROL_TYPE, 0); + gst_type_mark_as_plugin_api (UVC_H264_SLICEMODE_TYPE, 0); + gst_type_mark_as_plugin_api (UVC_H264_USAGETYPE_TYPE, 0); } static void -- 2.7.4