mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types
This commit is contained in:
parent
44e4de43da
commit
37c619f995
49 changed files with 129 additions and 1 deletions
|
@ -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 *
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -183,6 +183,8 @@ gst_dvdec_class_init (GstDVDecClass * klass)
|
|||
"Erik Walthinsen <omega@cse.ogi.edu>," "Wim Taymans <wim@fluendo.com>");
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (dvdec_debug, "dvdec", 0, "DV decoding element");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVDEC_QUALITY);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -287,6 +287,8 @@ gst_gdk_pixbuf_overlay_class_init (GstGdkPixbufOverlayClass * klass)
|
|||
"Tim-Philipp Müller <tim centricular net>");
|
||||
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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -241,6 +241,8 @@ gst_shout2send_class_init (GstShout2sendClass * klass)
|
|||
"Zaheer Abbas Merali <zaheerabbas at merali dot org>");
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (shout2_debug, "shout2", 0, "shout2send element");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SHOUT_PROTOCOL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -217,6 +217,8 @@ gst_speex_enc_class_init (GstSpeexEncClass * klass)
|
|||
"Encodes audio in Speex format", "Wim Taymans <wim@fluendo.com>");
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (speexenc_debug, "speexenc", 0, "Speex encoder");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SPEEX_ENC_MODE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -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 <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -191,6 +191,8 @@ gst_audio_cheb_band_class_init (GstAudioChebBandClass * klass)
|
|||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
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
|
||||
|
|
|
@ -183,6 +183,8 @@ gst_audio_cheb_limit_class_init (GstAudioChebLimitClass * klass)
|
|||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -205,6 +205,9 @@ gst_audio_wsincband_class_init (GstAudioWSincBandClass * klass)
|
|||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
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
|
||||
|
|
|
@ -201,6 +201,9 @@ gst_audio_wsinclimit_class_init (GstAudioWSincLimitClass * klass)
|
|||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -270,6 +270,8 @@ gst_flv_mux_class_init (GstFlvMuxClass * klass)
|
|||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (flvmux_debug, "flvmux", 0, "FLV muxer");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_FLV_MUX_PAD);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <ds@schleef.org>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MULTI_FILE_SINK_NEXT);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -199,6 +199,8 @@ gst_smpte_class_init (GstSMPTEClass * klass)
|
|||
"Filter/Editor/Video",
|
||||
"Apply the standard SMPTE transitions on video images",
|
||||
"Wim Taymans <wim.taymans@chello.be>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SMPTE_TRANSITION_TYPE);
|
||||
}
|
||||
|
||||
/* wht yel cya grn mag red blu blk -I Q */
|
||||
|
|
|
@ -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 <wim.taymans@gmail.com>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SMPTE_TRANSITION_TYPE);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue