From: Mathieu Duponchelle Date: Fri, 29 May 2020 23:29:03 +0000 (+0200) Subject: plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types X-Git-Tag: 1.19.3~509^2~576 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37c619f9954045602a61daf4bceff4cd0e4f70cf;p=platform%2Fupstream%2Fgstreamer.git plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types --- diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c index 18d361f..62181f7 100644 --- a/ext/aalib/gstaasink.c +++ b/ext/aalib/gstaasink.c @@ -225,6 +225,9 @@ gst_aasink_class_init (GstAASinkClass * klass) GST_DEBUG_FUNCPTR (gst_aasink_propose_allocation); gstvideosink_class->show_frame = GST_DEBUG_FUNCPTR (gst_aasink_show_frame); + + gst_type_mark_as_plugin_api (GST_TYPE_AADRIVERS); + gst_type_mark_as_plugin_api (GST_TYPE_AADITHER); } static GstCaps * diff --git a/ext/aalib/gstaatv.c b/ext/aalib/gstaatv.c index 247af83..2aa4d5b 100644 --- a/ext/aalib/gstaatv.c +++ b/ext/aalib/gstaatv.c @@ -619,6 +619,10 @@ gst_aatv_class_init (GstAATvClass * klass) transform_class->transform_caps = GST_DEBUG_FUNCPTR (gst_aatv_transform_caps); videofilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_aatv_transform_frame); + + gst_type_mark_as_plugin_api (GST_TYPE_AATV_RAIN_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_AADITHER); + gst_type_mark_as_plugin_api (GST_TYPE_AAFONT); } static void diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index c9c39bf..ba84c54 100644 --- a/ext/dv/gstdvdec.c +++ b/ext/dv/gstdvdec.c @@ -183,6 +183,8 @@ gst_dvdec_class_init (GstDVDecClass * klass) "Erik Walthinsen ," "Wim Taymans "); GST_DEBUG_CATEGORY_INIT (dvdec_debug, "dvdec", 0, "DV decoding element"); + + gst_type_mark_as_plugin_api (GST_TYPE_DVDEC_QUALITY); } static void diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 4f94905..3ed185b 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -361,6 +361,8 @@ gst_flac_enc_class_init (GstFlacEncClass * klass) base_class->getcaps = GST_DEBUG_FUNCPTR (gst_flac_enc_getcaps); base_class->sink_event = GST_DEBUG_FUNCPTR (gst_flac_enc_sink_event); base_class->sink_query = GST_DEBUG_FUNCPTR (gst_flac_enc_sink_query); + + gst_type_mark_as_plugin_api (GST_TYPE_FLAC_ENC_QUALITY); } static void diff --git a/ext/gdk_pixbuf/gstgdkpixbufoverlay.c b/ext/gdk_pixbuf/gstgdkpixbufoverlay.c index 98b2f7f..a2542e9 100644 --- a/ext/gdk_pixbuf/gstgdkpixbufoverlay.c +++ b/ext/gdk_pixbuf/gstgdkpixbufoverlay.c @@ -287,6 +287,8 @@ gst_gdk_pixbuf_overlay_class_init (GstGdkPixbufOverlayClass * klass) "Tim-Philipp Müller "); GST_DEBUG_CATEGORY_INIT (gdkpixbufoverlay_debug, "gdkpixbufoverlay", 0, "debug category for gdkpixbufoverlay element"); + + gst_type_mark_as_plugin_api (GST_TYPE_GDK_PIXBUF_POSITIONING_MODE); } static void diff --git a/ext/jack/gstjackaudiosink.c b/ext/jack/gstjackaudiosink.c index abf7aa5..bba8f2d 100644 --- a/ext/jack/gstjackaudiosink.c +++ b/ext/jack/gstjackaudiosink.c @@ -177,6 +177,9 @@ gst_jack_ring_buffer_class_init (GstJackRingBufferClass * klass) gstringbuffer_class->stop = GST_DEBUG_FUNCPTR (gst_jack_ring_buffer_stop); gstringbuffer_class->delay = GST_DEBUG_FUNCPTR (gst_jack_ring_buffer_delay); + + gst_type_mark_as_plugin_api (GST_TYPE_JACK_CONNECT); + gst_type_mark_as_plugin_api (GST_TYPE_JACK_TRANSPORT); } /* this is the callback of jack. This should RT-safe. diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index 6ce4ebd..08683fe 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -181,6 +181,8 @@ gst_jpeg_dec_class_init (GstJpegDecClass * klass) GST_DEBUG_CATEGORY_INIT (jpeg_dec_debug, "jpegdec", 0, "JPEG decoder"); GST_DEBUG_CATEGORY_GET (GST_CAT_PERFORMANCE, "GST_PERFORMANCE"); + + gst_type_mark_as_plugin_api (GST_TYPE_IDCT_METHOD); } static boolean diff --git a/ext/lame/gstlamemp3enc.c b/ext/lame/gstlamemp3enc.c index 424845e..450afb4 100644 --- a/ext/lame/gstlamemp3enc.c +++ b/ext/lame/gstlamemp3enc.c @@ -273,6 +273,9 @@ gst_lamemp3enc_class_init (GstLameMP3EncClass * klass) g_param_spec_boolean ("mono", "Mono", "Enforce mono encoding", DEFAULT_MONO, G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + + gst_type_mark_as_plugin_api (GST_TYPE_LAMEMP3ENC_TARGET); + gst_type_mark_as_plugin_api (GST_TYPE_LAMEMP3ENC_ENCODING_ENGINE_QUALITY); } static void diff --git a/ext/libcaca/gstcacasink.c b/ext/libcaca/gstcacasink.c index 612ac91..067b419 100644 --- a/ext/libcaca/gstcacasink.c +++ b/ext/libcaca/gstcacasink.c @@ -157,6 +157,8 @@ gst_cacasink_class_init (GstCACASinkClass * klass) gstbasesink_class->get_times = GST_DEBUG_FUNCPTR (gst_cacasink_get_times); gstbasesink_class->preroll = GST_DEBUG_FUNCPTR (gst_cacasink_render); gstbasesink_class->render = GST_DEBUG_FUNCPTR (gst_cacasink_render); + + gst_type_mark_as_plugin_api (GST_TYPE_CACADITHER); } static void diff --git a/ext/libcaca/gstcacatv.c b/ext/libcaca/gstcacatv.c index 0c0a5d1..e54b2c0 100644 --- a/ext/libcaca/gstcacatv.c +++ b/ext/libcaca/gstcacatv.c @@ -298,6 +298,8 @@ gst_cacatv_class_init (GstCACATvClass * klass) videofilter_class->set_info = GST_DEBUG_FUNCPTR (gst_cacatv_setcaps); transform_class->transform_caps = GST_DEBUG_FUNCPTR (gst_cacatv_transform_caps); + + gst_type_mark_as_plugin_api (GST_TYPE_CACADITHER); } static void diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c index 0ffc8d4..a45ecb7 100644 --- a/ext/shout2/gstshout2.c +++ b/ext/shout2/gstshout2.c @@ -241,6 +241,8 @@ gst_shout2send_class_init (GstShout2sendClass * klass) "Zaheer Abbas Merali "); GST_DEBUG_CATEGORY_INIT (shout2_debug, "shout2", 0, "shout2send element"); + + gst_type_mark_as_plugin_api (GST_TYPE_SHOUT_PROTOCOL); } static void diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c index 64314f8..70a3467 100644 --- a/ext/speex/gstspeexenc.c +++ b/ext/speex/gstspeexenc.c @@ -217,6 +217,8 @@ gst_speex_enc_class_init (GstSpeexEncClass * klass) "Encodes audio in Speex format", "Wim Taymans "); GST_DEBUG_CATEGORY_INIT (speexenc_debug, "speexenc", 0, "Speex encoder"); + + gst_type_mark_as_plugin_api (GST_TYPE_SPEEX_ENC_MODE); } static void diff --git a/ext/twolame/gsttwolamemp2enc.c b/ext/twolame/gsttwolamemp2enc.c index 09e7a6c..a812569 100644 --- a/ext/twolame/gsttwolamemp2enc.c +++ b/ext/twolame/gsttwolamemp2enc.c @@ -335,6 +335,10 @@ gst_two_lame_class_init (GstTwoLameClass * klass) "TwoLAME mp2 encoder", "Codec/Encoder/Audio", "High-quality free MP2 encoder", "Sebastian Dröge "); + + gst_type_mark_as_plugin_api (GST_TYPE_TWO_LAME_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_TWO_LAME_PADDING); + gst_type_mark_as_plugin_api (GST_TYPE_TWO_LAME_EMPHASIS); } static gboolean diff --git a/ext/vpx/gstvpxdec.c b/ext/vpx/gstvpxdec.c index e860715..00d828e 100644 --- a/ext/vpx/gstvpxdec.c +++ b/ext/vpx/gstvpxdec.c @@ -188,6 +188,8 @@ gst_vpx_dec_class_init (GstVPXDecClass * klass) GST_DEBUG_FUNCPTR (gst_vpx_dec_default_frame_format); GST_DEBUG_CATEGORY_INIT (gst_vpxdec_debug, "vpxdec", 0, "VPX Decoder"); + + gst_type_mark_as_plugin_api (GST_VPX_DEC_TYPE_POST_PROCESSING_FLAGS); } static void diff --git a/ext/vpx/gstvpxenc.c b/ext/vpx/gstvpxenc.c index 88cfe22..12a781d 100644 --- a/ext/vpx/gstvpxenc.c +++ b/ext/vpx/gstvpxenc.c @@ -639,6 +639,14 @@ gst_vpx_enc_class_init (GstVPXEncClass * klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); GST_DEBUG_CATEGORY_INIT (gst_vpxenc_debug, "vpxenc", 0, "VPX Encoder"); + + gst_type_mark_as_plugin_api (GST_VPX_ENC_END_USAGE_TYPE); + gst_type_mark_as_plugin_api (GST_VPX_ENC_MULTIPASS_MODE_TYPE); + gst_type_mark_as_plugin_api (GST_VPX_ENC_KF_MODE_TYPE); + gst_type_mark_as_plugin_api (GST_VPX_ENC_TUNING_TYPE); + gst_type_mark_as_plugin_api (GST_VPX_ENC_SCALING_MODE_TYPE); + gst_type_mark_as_plugin_api (GST_VPX_ENC_TOKEN_PARTITIONS_TYPE); + gst_type_mark_as_plugin_api (GST_VPX_ENC_ER_FLAGS_TYPE); } static void diff --git a/ext/wavpack/gstwavpackenc.c b/ext/wavpack/gstwavpackenc.c index 3f05175..3ab0da0 100644 --- a/ext/wavpack/gstwavpackenc.c +++ b/ext/wavpack/gstwavpackenc.c @@ -263,6 +263,10 @@ gst_wavpack_enc_class_init (GstWavpackEncClass * klass) "Use this joint-stereo mode.", GST_TYPE_WAVPACK_ENC_JOINT_STEREO_MODE, GST_WAVPACK_JS_MODE_AUTO, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + + gst_type_mark_as_plugin_api (GST_TYPE_WAVPACK_ENC_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_WAVPACK_ENC_CORRECTION_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_WAVPACK_ENC_JOINT_STEREO_MODE); } static void diff --git a/gst/alpha/gstalpha.c b/gst/alpha/gstalpha.c index 4a37b01..668bcb5 100644 --- a/gst/alpha/gstalpha.c +++ b/gst/alpha/gstalpha.c @@ -286,6 +286,8 @@ gst_alpha_class_init (GstAlphaClass * klass) vfilter_class->set_info = GST_DEBUG_FUNCPTR (gst_alpha_set_info); vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_alpha_transform_frame); + + gst_type_mark_as_plugin_api (GST_TYPE_ALPHA_METHOD); } static void diff --git a/gst/audiofx/audioamplify.c b/gst/audiofx/audioamplify.c index f96093a..87ff001 100644 --- a/gst/audiofx/audioamplify.c +++ b/gst/audiofx/audioamplify.c @@ -303,6 +303,8 @@ gst_audio_amplify_class_init (GstAudioAmplifyClass * klass) GST_AUDIO_FILTER_CLASS (klass)->setup = GST_DEBUG_FUNCPTR (gst_audio_amplify_setup); + + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_AMPLIFY_CLIPPING_METHOD); } static void diff --git a/gst/audiofx/audiochebband.c b/gst/audiofx/audiochebband.c index 0751963..d6fbea2 100644 --- a/gst/audiofx/audiochebband.c +++ b/gst/audiofx/audiochebband.c @@ -191,6 +191,8 @@ gst_audio_cheb_band_class_init (GstAudioChebBandClass * klass) "Sebastian Dröge "); filter_class->setup = GST_DEBUG_FUNCPTR (gst_audio_cheb_band_setup); + + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_CHEBYSHEV_FREQ_BAND_MODE); } static void diff --git a/gst/audiofx/audiocheblimit.c b/gst/audiofx/audiocheblimit.c index c02b62e..3d28486 100644 --- a/gst/audiofx/audiocheblimit.c +++ b/gst/audiofx/audiocheblimit.c @@ -183,6 +183,8 @@ gst_audio_cheb_limit_class_init (GstAudioChebLimitClass * klass) "Sebastian Dröge "); filter_class->setup = GST_DEBUG_FUNCPTR (gst_audio_cheb_limit_setup); + + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_CHEBYSHEV_FREQ_LIMIT_MODE); } static void diff --git a/gst/audiofx/audiodynamic.c b/gst/audiofx/audiodynamic.c index 99e4354..25fa418 100644 --- a/gst/audiofx/audiodynamic.c +++ b/gst/audiofx/audiodynamic.c @@ -254,6 +254,9 @@ gst_audio_dynamic_class_init (GstAudioDynamicClass * klass) GST_BASE_TRANSFORM_CLASS (klass)->transform_ip = GST_DEBUG_FUNCPTR (gst_audio_dynamic_transform_ip); GST_BASE_TRANSFORM_CLASS (klass)->transform_ip_on_passthrough = FALSE; + + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_DYNAMIC_CHARACTERISTICS); + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_DYNAMIC_MODE); } static void diff --git a/gst/audiofx/audiopanorama.c b/gst/audiofx/audiopanorama.c index fe1f2a1c..c7d79cc 100644 --- a/gst/audiofx/audiopanorama.c +++ b/gst/audiofx/audiopanorama.c @@ -210,6 +210,8 @@ gst_audio_panorama_class_init (GstAudioPanoramaClass * klass) GST_DEBUG_FUNCPTR (gst_audio_panorama_set_caps); GST_BASE_TRANSFORM_CLASS (klass)->transform = GST_DEBUG_FUNCPTR (gst_audio_panorama_transform); + + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_PANORAMA_METHOD); } static void diff --git a/gst/audiofx/audiowsincband.c b/gst/audiofx/audiowsincband.c index 6159bb8..3d1ec77 100644 --- a/gst/audiofx/audiowsincband.c +++ b/gst/audiofx/audiowsincband.c @@ -205,6 +205,9 @@ gst_audio_wsincband_class_init (GstAudioWSincBandClass * klass) "Sebastian Dröge "); filter_class->setup = GST_DEBUG_FUNCPTR (gst_audio_wsincband_setup); + + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_WSINC_BAND_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_WSINC_BAND_WINDOW); } static void diff --git a/gst/audiofx/audiowsinclimit.c b/gst/audiofx/audiowsinclimit.c index 54bb903..9609a9c 100644 --- a/gst/audiofx/audiowsinclimit.c +++ b/gst/audiofx/audiowsinclimit.c @@ -201,6 +201,9 @@ gst_audio_wsinclimit_class_init (GstAudioWSincLimitClass * klass) "Sebastian Dröge "); filter_class->setup = GST_DEBUG_FUNCPTR (gst_audio_wsinclimit_setup); + + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_WSINC_LIMIT_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_WSINC_LIMIT_WINDOW); } static void diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c index 1f4abdc..14c0526 100644 --- a/gst/deinterlace/gstdeinterlace.c +++ b/gst/deinterlace/gstdeinterlace.c @@ -617,6 +617,12 @@ gst_deinterlace_class_init (GstDeinterlaceClass * klass) element_class->change_state = GST_DEBUG_FUNCPTR (gst_deinterlace_change_state); + + gst_type_mark_as_plugin_api (GST_TYPE_DEINTERLACE_METHODS); + gst_type_mark_as_plugin_api (GST_TYPE_DEINTERLACE_FIELDS); + gst_type_mark_as_plugin_api (GST_TYPE_DEINTERLACE_FIELD_LAYOUT); + gst_type_mark_as_plugin_api (GST_TYPE_DEINTERLACE_MODES); + gst_type_mark_as_plugin_api (GST_TYPE_DEINTERLACE_LOCKING); } #if 0 diff --git a/gst/effectv/gstop.c b/gst/effectv/gstop.c index ec636b3..f0e9c8f 100644 --- a/gst/effectv/gstop.c +++ b/gst/effectv/gstop.c @@ -407,6 +407,8 @@ gst_optv_class_init (GstOpTVClass * klass) vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_optv_transform_frame); initPalette (); + + gst_type_mark_as_plugin_api (GST_TYPE_OPTV_MODE); } static void diff --git a/gst/effectv/gstradioac.c b/gst/effectv/gstradioac.c index a36a5b9..33c4333 100644 --- a/gst/effectv/gstradioac.c +++ b/gst/effectv/gstradioac.c @@ -610,6 +610,9 @@ gst_radioactv_class_init (GstRadioacTVClass * klass) GST_DEBUG_FUNCPTR (gst_radioactv_transform_frame); makePalette (); + + gst_type_mark_as_plugin_api (GST_TYPE_RADIOACTV_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_RADIOACTV_COLOR); } static void diff --git a/gst/effectv/gstripple.c b/gst/effectv/gstripple.c index 577c7d6..c6a9666 100644 --- a/gst/effectv/gstripple.c +++ b/gst/effectv/gstripple.c @@ -598,6 +598,8 @@ gst_rippletv_class_init (GstRippleTVClass * klass) GST_DEBUG_FUNCPTR (gst_rippletv_transform_frame); setTable (); + + gst_type_mark_as_plugin_api (GST_TYPE_RIPPLETV_MODE); } static void diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index bc3a65c..7cc0065 100644 --- a/gst/flv/gstflvmux.c +++ b/gst/flv/gstflvmux.c @@ -270,6 +270,8 @@ gst_flv_mux_class_init (GstFlvMuxClass * klass) "Sebastian Dröge "); GST_DEBUG_CATEGORY_INIT (flvmux_debug, "flvmux", 0, "FLV muxer"); + + gst_type_mark_as_plugin_api (GST_TYPE_FLV_MUX_PAD); } static void diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index d4ec1cc..35505f1 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -662,6 +662,9 @@ gst_qt_mux_class_init (GstQTMuxClass * klass) gstagg_class->start = gst_qt_mux_start; gstagg_class->stop = gst_qt_mux_stop; gstagg_class->create_new_pad = gst_qt_mux_create_new_pad; + + gst_type_mark_as_plugin_api (GST_TYPE_QT_MUX_PAD); + gst_type_mark_as_plugin_api (GST_TYPE_QT_MUX_DTS_METHOD); } static void diff --git a/gst/multifile/gstmultifilesink.c b/gst/multifile/gstmultifilesink.c index 224cf33..3be9824 100644 --- a/gst/multifile/gstmultifilesink.c +++ b/gst/multifile/gstmultifilesink.c @@ -274,6 +274,8 @@ gst_multi_file_sink_class_init (GstMultiFileSinkClass * klass) "Sink/File", "Write buffers to a sequentially named set of files", "David Schleef "); + + gst_type_mark_as_plugin_api (GST_TYPE_MULTI_FILE_SINK_NEXT); } static void diff --git a/gst/rtp/gstrtpdvpay.c b/gst/rtp/gstrtpdvpay.c index 4408806..c8e3c9e 100644 --- a/gst/rtp/gstrtpdvpay.c +++ b/gst/rtp/gstrtpdvpay.c @@ -132,6 +132,8 @@ gst_rtp_dv_pay_class_init (GstRTPDVPayClass * klass) gstrtpbasepayload_class->set_caps = gst_rtp_dv_pay_setcaps; gstrtpbasepayload_class->handle_buffer = gst_rtp_dv_pay_handle_buffer; + + gst_type_mark_as_plugin_api (GST_TYPE_DV_PAY_MODE); } static void diff --git a/gst/rtp/gstrtph263ppay.c b/gst/rtp/gstrtph263ppay.c index 9b3ebb5..d4cc837 100644 --- a/gst/rtp/gstrtph263ppay.c +++ b/gst/rtp/gstrtph263ppay.c @@ -151,6 +151,8 @@ gst_rtp_h263p_pay_class_init (GstRtpH263PPayClass * klass) GST_DEBUG_CATEGORY_INIT (rtph263ppay_debug, "rtph263ppay", 0, "rtph263ppay (RFC 4629)"); + + gst_type_mark_as_plugin_api (GST_TYPE_FRAGMENTATION_MODE); } static void diff --git a/gst/rtp/gstrtph264pay.c b/gst/rtp/gstrtph264pay.c index 623b68d..a9e678a 100644 --- a/gst/rtp/gstrtph264pay.c +++ b/gst/rtp/gstrtph264pay.c @@ -199,6 +199,8 @@ gst_rtp_h264_pay_class_init (GstRtpH264PayClass * klass) GST_DEBUG_CATEGORY_INIT (rtph264pay_debug, "rtph264pay", 0, "H264 RTP Payloader"); + + gst_type_mark_as_plugin_api (GST_TYPE_RTP_H264_AGGREGATE_MODE); } static void diff --git a/gst/rtp/gstrtph265pay.c b/gst/rtp/gstrtph265pay.c index 420f164..88c15bf 100644 --- a/gst/rtp/gstrtph265pay.c +++ b/gst/rtp/gstrtph265pay.c @@ -223,6 +223,8 @@ gst_rtp_h265_pay_class_init (GstRtpH265PayClass * klass) GST_DEBUG_CATEGORY_INIT (rtph265pay_debug, "rtph265pay", 0, "H265 RTP Payloader"); + + gst_type_mark_as_plugin_api (GST_TYPE_RTP_H265_AGGREGATE_MODE); } static void diff --git a/gst/rtp/gstrtpilbcdepay.c b/gst/rtp/gstrtpilbcdepay.c index 26de483..a259847 100644 --- a/gst/rtp/gstrtpilbcdepay.c +++ b/gst/rtp/gstrtpilbcdepay.c @@ -124,6 +124,8 @@ gst_rtp_ilbc_depay_class_init (GstRTPiLBCDepayClass * klass) gstrtpbasedepayload_class->process_rtp_packet = gst_rtp_ilbc_depay_process; gstrtpbasedepayload_class->set_caps = gst_rtp_ilbc_depay_setcaps; + + gst_type_mark_as_plugin_api (GST_TYPE_ILBC_MODE); } static void diff --git a/gst/rtp/gstrtpvp8pay.c b/gst/rtp/gstrtpvp8pay.c index ed6a2a2..01bb595 100644 --- a/gst/rtp/gstrtpvp8pay.c +++ b/gst/rtp/gstrtpvp8pay.c @@ -134,6 +134,8 @@ gst_rtp_vp8_pay_class_init (GstRtpVP8PayClass * gst_rtp_vp8_pay_class) GST_DEBUG_CATEGORY_INIT (gst_rtp_vp8_pay_debug, "rtpvp8pay", 0, "VP8 Video RTP Payloader"); + + gst_type_mark_as_plugin_api (GST_TYPE_RTP_VP8_PAY_PICTURE_ID_MODE); } static void diff --git a/gst/rtp/gstrtpvp9pay.c b/gst/rtp/gstrtpvp9pay.c index facf624..f960c38 100644 --- a/gst/rtp/gstrtpvp9pay.c +++ b/gst/rtp/gstrtpvp9pay.c @@ -135,6 +135,8 @@ gst_rtp_vp9_pay_class_init (GstRtpVP9PayClass * gst_rtp_vp9_pay_class) GST_DEBUG_CATEGORY_INIT (gst_rtp_vp9_pay_debug, "rtpvp9pay", 0, "VP9 Video RTP Payloader"); + + gst_type_mark_as_plugin_api (GST_TYPE_RTP_VP9_PAY_PICTURE_ID_MODE); } static void diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index 5c5ddd2..6a88b49 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -2686,6 +2686,8 @@ gst_rtp_bin_class_init (GstRtpBinClass * klass) GST_DEBUG_FUNCPTR (gst_rtp_bin_request_jitterbuffer); GST_DEBUG_CATEGORY_INIT (gst_rtp_bin_debug, "rtpbin", 0, "RTP bin"); + + gst_type_mark_as_plugin_api (GST_RTP_BIN_RTCP_SYNC_TYPE); } static void diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index f0571f4..251deb2 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -977,6 +977,8 @@ gst_rtp_jitter_buffer_class_init (GstRtpJitterBufferClass * klass) GST_DEBUG_CATEGORY_INIT (rtpjitterbuffer_debug, "rtpjitterbuffer", 0, "RTP Jitter Buffer"); GST_DEBUG_REGISTER_FUNCPTR (gst_rtp_jitter_buffer_chain_rtcp); + + gst_type_mark_as_plugin_api (RTP_TYPE_JITTER_BUFFER_MODE); } static void diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c index b419e13..50bbf82 100644 --- a/gst/rtpmanager/gstrtpsession.c +++ b/gst/rtpmanager/gstrtpsession.c @@ -115,6 +115,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_rtp_session_debug); #define GST_CAT_DEFAULT gst_rtp_session_debug +#define GST_TYPE_RTP_NTP_TIME_SOURCE (gst_rtp_ntp_time_source_get_type ()) GType gst_rtp_ntp_time_source_get_type (void) { @@ -792,7 +793,7 @@ gst_rtp_session_class_init (GstRtpSessionClass * klass) g_object_class_install_property (gobject_class, PROP_NTP_TIME_SOURCE, g_param_spec_enum ("ntp-time-source", "NTP Time Source", "NTP time source for RTCP packets", - gst_rtp_ntp_time_source_get_type (), DEFAULT_NTP_TIME_SOURCE, + GST_TYPE_RTP_NTP_TIME_SOURCE, DEFAULT_NTP_TIME_SOURCE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_RTCP_SYNC_SEND_TIME, @@ -842,6 +843,9 @@ gst_rtp_session_class_init (GstRtpSessionClass * klass) GST_DEBUG_REGISTER_FUNCPTR (gst_rtp_session_chain_send_rtp); GST_DEBUG_REGISTER_FUNCPTR (gst_rtp_session_chain_send_rtp_list); + gst_type_mark_as_plugin_api (GST_TYPE_RTP_NTP_TIME_SOURCE); + gst_type_mark_as_plugin_api (RTP_TYPE_SESSION); + gst_type_mark_as_plugin_api (RTP_TYPE_SOURCE); } static void diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index a2d258f..51a8c24 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -1217,6 +1217,11 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass) klass->set_parameter = GST_DEBUG_FUNCPTR (set_parameter); gst_rtsp_ext_list_init (); + + gst_type_mark_as_plugin_api (GST_TYPE_RTSP_SRC_BUFFER_MODE); + gst_type_mark_as_plugin_api (GST_TYPE_RTSP_SRC_NTP_TIME_SOURCE); + gst_type_mark_as_plugin_api (GST_TYPE_RTSP_BACKCHANNEL); + gst_type_mark_as_plugin_api (GST_TYPE_RTSP_NAT_METHOD); } static gboolean diff --git a/gst/smpte/gstsmpte.c b/gst/smpte/gstsmpte.c index f7f8c73..65dd0a2 100644 --- a/gst/smpte/gstsmpte.c +++ b/gst/smpte/gstsmpte.c @@ -199,6 +199,8 @@ gst_smpte_class_init (GstSMPTEClass * klass) "Filter/Editor/Video", "Apply the standard SMPTE transitions on video images", "Wim Taymans "); + + gst_type_mark_as_plugin_api (GST_TYPE_SMPTE_TRANSITION_TYPE); } /* wht yel cya grn mag red blu blk -I Q */ diff --git a/gst/smpte/gstsmptealpha.c b/gst/smpte/gstsmptealpha.c index ee830ce..284f48c 100644 --- a/gst/smpte/gstsmptealpha.c +++ b/gst/smpte/gstsmptealpha.c @@ -212,6 +212,8 @@ gst_smpte_alpha_class_init (GstSMPTEAlphaClass * klass) "Filter/Editor/Video", "Apply the standard SMPTE transitions as alpha on video images", "Wim Taymans "); + + gst_type_mark_as_plugin_api (GST_TYPE_SMPTE_TRANSITION_TYPE); } static gboolean diff --git a/gst/videobox/gstvideobox.c b/gst/videobox/gstvideobox.c index 32e91f8..7c76366 100644 --- a/gst/videobox/gstvideobox.c +++ b/gst/videobox/gstvideobox.c @@ -2533,6 +2533,8 @@ gst_video_box_class_init (GstVideoBoxClass * klass) &gst_video_box_sink_template); gst_element_class_add_static_pad_template (element_class, &gst_video_box_src_template); + + gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_BOX_FILL); } static void diff --git a/gst/videofilter/gstvideoflip.c b/gst/videofilter/gstvideoflip.c index 1c26126..0deba40 100644 --- a/gst/videofilter/gstvideoflip.c +++ b/gst/videofilter/gstvideoflip.c @@ -1335,6 +1335,8 @@ gst_video_flip_class_init (GstVideoFlipClass * klass) vfilter_class->set_info = GST_DEBUG_FUNCPTR (gst_video_flip_set_info); vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_video_flip_transform_frame); + + gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_FLIP_METHOD); } static void diff --git a/gst/videofilter/gstvideomedian.c b/gst/videofilter/gstvideomedian.c index 042cd23..1b0b055 100644 --- a/gst/videofilter/gstvideomedian.c +++ b/gst/videofilter/gstvideomedian.c @@ -119,6 +119,8 @@ gst_video_median_class_init (GstVideoMedianClass * klass) vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_video_median_transform_frame); + + gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_MEDIAN_SIZE); } void diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index e181e60..1c1d52a 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -2235,6 +2235,8 @@ gst_videomixer2_class_init (GstVideoMixer2Class * klass) /* Register the pad class */ g_type_class_ref (GST_TYPE_VIDEO_MIXER2_PAD); + + gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_MIXER2_BACKGROUND); } static void diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 6b73b15..2cd03e5 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -425,6 +425,9 @@ gst_v4l2_object_install_properties_helper (GObjectClass * gobject_class, "When enabled, the pixel aspect ratio will be enforced", TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + gst_type_mark_as_plugin_api (GST_TYPE_V4L2_DEVICE_FLAGS); + gst_type_mark_as_plugin_api (GST_TYPE_V4L2_TV_NORM); + gst_type_mark_as_plugin_api (GST_TYPE_V4L2_IO_MODE); } void