mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
plugins: uddate gst_type_mark_as_plugin_api() calls
This commit is contained in:
parent
954a314ca8
commit
cc516695b0
29 changed files with 51 additions and 50 deletions
|
@ -195,7 +195,7 @@ gst_cd_paranoia_src_class_init (GstCdParanoiaSrcClass * klass)
|
|||
G_STRUCT_OFFSET (GstCdParanoiaSrcClass, uncorrected_error),
|
||||
NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_INT);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CD_PARANOIA_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CD_PARANOIA_MODE, 0);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -546,7 +546,7 @@ gst_gl_alpha_class_init (GstGLAlphaClass * klass)
|
|||
filter_class->filter_texture =
|
||||
GST_DEBUG_FUNCPTR (gst_gl_alpha_filter_texture);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_ALPHA_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_ALPHA_METHOD, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -270,7 +270,7 @@ gst_gl_deinterlace_class_init (GstGLDeinterlaceClass * klass)
|
|||
GST_GL_BASE_FILTER_CLASS (klass)->supported_gl_api =
|
||||
GST_GL_API_OPENGL | GST_GL_API_GLES2 | GST_GL_API_OPENGL3;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_DEINTERLACE_METHODS);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_DEINTERLACE_METHODS, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -347,7 +347,7 @@ gst_gl_effects_class_init (GstGLEffectsClass * klass)
|
|||
GST_GL_BASE_FILTER_CLASS (klass)->supported_gl_api =
|
||||
GST_GL_API_OPENGL | GST_GL_API_GLES2 | GST_GL_API_OPENGL3;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_EFFECTS_EFFECT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_EFFECTS_EFFECT, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -298,7 +298,7 @@ gst_gl_image_sink_bin_class_init (GstGLImageSinkBinClass * klass)
|
|||
G_SIGNAL_RUN_LAST, 0, NULL, NULL, NULL, G_TYPE_BOOLEAN, 3,
|
||||
GST_TYPE_GL_CONTEXT, G_TYPE_UINT, G_TYPE_UINT);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_ROTATE_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_ROTATE_METHOD, 0);
|
||||
}
|
||||
|
||||
#define GST_GLIMAGE_SINK_GET_LOCK(glsink) \
|
||||
|
|
|
@ -438,7 +438,7 @@ gst_gl_mixer_class_init (GstGLMixerClass * klass)
|
|||
|
||||
klass->set_caps = NULL;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_MIXER_PAD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_MIXER_PAD, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -236,7 +236,7 @@ gst_gl_mixer_bin_class_init (GstGLMixerBinClass * klass)
|
|||
"Bin/Filter/Effect/Video/Mixer", "OpenGL video_mixer empty bin",
|
||||
"Matthew Waters <matthew@centricular.com>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_MIXER_BIN_START_TIME_SELECTION);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_MIXER_BIN_START_TIME_SELECTION, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -211,8 +211,8 @@ gst_gl_stereo_mix_class_init (GstGLStereoMixClass * klass)
|
|||
base_mix_class->supported_gl_api =
|
||||
GST_GL_API_GLES2 | GST_GL_API_OPENGL | GST_GL_API_OPENGL3;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_STEREO_DOWNMIX);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_STEREO_MIX_PAD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_STEREO_DOWNMIX, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_STEREO_MIX_PAD, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -163,7 +163,7 @@ gst_gl_test_src_class_init (GstGLTestSrcClass * klass)
|
|||
gstglbasesrc_class->gl_stop = gst_gl_test_src_gl_stop;
|
||||
gstglbasesrc_class->fill_gl_memory = gst_gl_test_src_fill_memory;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_TEST_SRC_PATTERN);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_TEST_SRC_PATTERN, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -157,7 +157,7 @@ gst_gl_video_flip_class_init (GstGLVideoFlipClass * klass)
|
|||
"Filter/Effect/Video", "Flip video on the GPU",
|
||||
"Matthew Waters <matthew@centricular.com>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_FLIP_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_FLIP_METHOD, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -933,10 +933,10 @@ gst_gl_video_mixer_class_init (GstGLVideoMixerClass * klass)
|
|||
GST_GL_BASE_MIXER_CLASS (klass)->supported_gl_api =
|
||||
GST_GL_API_OPENGL | GST_GL_API_OPENGL3 | GST_GL_API_GLES2;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_MIXER_BACKGROUND);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_MIXER_PAD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_MIXER_BLEND_EQUATION);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_MIXER_BLEND_FUNCTION);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_MIXER_BACKGROUND, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_MIXER_PAD, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_MIXER_BLEND_EQUATION, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_GL_VIDEO_MIXER_BLEND_FUNCTION, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -345,10 +345,10 @@ gst_opus_enc_class_init (GstOpusEncClass * klass)
|
|||
|
||||
GST_DEBUG_CATEGORY_INIT (opusenc_debug, "opusenc", 0, "Opus encoder");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_OPUS_ENC_TYPE_AUDIO_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_OPUS_ENC_TYPE_BANDWIDTH);
|
||||
gst_type_mark_as_plugin_api (GST_OPUS_ENC_TYPE_BITRATE_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_OPUS_ENC_TYPE_FRAME_SIZE);
|
||||
gst_type_mark_as_plugin_api (GST_OPUS_ENC_TYPE_AUDIO_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_OPUS_ENC_TYPE_BANDWIDTH, 0);
|
||||
gst_type_mark_as_plugin_api (GST_OPUS_ENC_TYPE_BITRATE_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_OPUS_ENC_TYPE_FRAME_SIZE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -631,11 +631,11 @@ gst_base_text_overlay_class_init (GstBaseTextOverlayClass * klass)
|
|||
1, 100, 100, 1, DEFAULT_PROP_SCALE_PAR_N, DEFAULT_PROP_SCALE_PAR_D,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_HALIGN);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_VALIGN);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_LINE_ALIGN);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_SCALE_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_WRAP_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_HALIGN, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_VALIGN, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_LINE_ALIGN, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_SCALE_MODE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_WRAP_MODE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -227,9 +227,9 @@ gst_text_render_class_init (GstTextRenderClass * klass)
|
|||
GST_TYPE_TEXT_RENDER_LINE_ALIGN, DEFAULT_PROP_LINE_ALIGNMENT,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_TEXT_RENDER_HALIGN);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_TEXT_RENDER_VALIGN);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_TEXT_RENDER_LINE_ALIGN);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_TEXT_RENDER_HALIGN, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_TEXT_RENDER_VALIGN, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_TEXT_RENDER_LINE_ALIGN, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -238,7 +238,7 @@ gst_time_overlay_class_init (GstTimeOverlayClass * klass)
|
|||
DEFAULT_SHOW_TIMES_AS_DATES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_TIME_OVERLAY_TIME_LINE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_TIME_OVERLAY_TIME_LINE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -302,7 +302,7 @@ gst_theora_enc_class_init (GstTheoraEncClass * klass)
|
|||
|
||||
GST_DEBUG_CATEGORY_INIT (theoraenc_debug, "theoraenc", 0, "Theora encoder");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MULTIPASS_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MULTIPASS_MODE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -621,7 +621,7 @@ gst_audio_interleave_class_init (GstAudioInterleaveClass * klass)
|
|||
"Take channel positions from the input", TRUE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_INTERLEAVE_PAD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_INTERLEAVE_PAD, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -239,7 +239,7 @@ gst_audiomixer_class_init (GstAudioMixerClass * klass)
|
|||
|
||||
aagg_class->aggregate_one_buffer = gst_audiomixer_aggregate_one_buffer;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_MIXER_PAD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_MIXER_PAD, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -211,9 +211,10 @@ gst_audio_resample_class_init (GstAudioResampleClass * klass)
|
|||
|
||||
GST_BASE_TRANSFORM_CLASS (klass)->passthrough_on_same_caps = TRUE;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_RESAMPLER_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_RESAMPLER_FILTER_INTERPOLATION);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_RESAMPLER_FILTER_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_RESAMPLER_METHOD, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_RESAMPLER_FILTER_INTERPOLATION,
|
||||
0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_RESAMPLER_FILTER_MODE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -308,7 +308,7 @@ gst_audio_test_src_class_init (GstAudioTestSrcClass * klass)
|
|||
gstbasesrc_class->stop = GST_DEBUG_FUNCPTR (gst_audio_test_src_stop);
|
||||
gstbasesrc_class->fill = GST_DEBUG_FUNCPTR (gst_audio_test_src_fill);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_TEST_SRC_WAVE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_TEST_SRC_WAVE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -1117,9 +1117,9 @@ gst_compositor_class_init (GstCompositorClass * klass)
|
|||
"Composite multiple video streams", "Wim Taymans <wim@fluendo.com>, "
|
||||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_COMPOSITOR_PAD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_COMPOSITOR_OPERATOR);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_COMPOSITOR_BACKGROUND);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_COMPOSITOR_PAD, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_COMPOSITOR_OPERATOR, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_COMPOSITOR_BACKGROUND, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -446,7 +446,7 @@ gst_encode_bin_class_init (GstEncodeBinClass * klass)
|
|||
"Convenience encoding/muxing element",
|
||||
"Edward Hervey <edward.hervey@collabora.co.uk>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_ENCODEBIN_FLAGS);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_ENCODEBIN_FLAGS, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -1045,7 +1045,7 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
|||
|
||||
g_type_class_ref (GST_TYPE_DECODE_PAD);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUTOPLUG_SELECT_RESULT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_AUTOPLUG_SELECT_RESULT, 0);
|
||||
}
|
||||
|
||||
/* Must be called with factories lock! */
|
||||
|
|
|
@ -1342,7 +1342,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
|
|||
gstbin_klass->deep_element_added =
|
||||
GST_DEBUG_FUNCPTR (gst_play_bin_deep_element_added);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_PLAY_FLAGS);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_PLAY_FLAGS, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -667,7 +667,7 @@ gst_play_sink_class_init (GstPlaySinkClass * klass)
|
|||
g_type_class_ref (GST_TYPE_STREAM_SYNCHRONIZER);
|
||||
g_type_class_ref (GST_TYPE_COLOR_BALANCE_CHANNEL);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_PLAY_SINK_SEND_EVENT_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_PLAY_SINK_SEND_EVENT_MODE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -281,7 +281,7 @@ gst_raw_audio_parse_class_init (GstRawAudioParseClass * klass)
|
|||
"Converts unformatted data streams into timestamped raw audio frames",
|
||||
"Carlos Rafael Giani <dv@pseudoterminal.org>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RAW_AUDIO_PARSE_FORMAT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RAW_AUDIO_PARSE_FORMAT, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -485,9 +485,9 @@ gst_multi_handle_sink_class_init (GstMultiHandleSinkClass * klass)
|
|||
GST_DEBUG_CATEGORY_INIT (multihandlesink_debug, "multihandlesink", 0,
|
||||
"Multi socket sink");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RECOVER_POLICY);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SYNC_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CLIENT_STATUS);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RECOVER_POLICY, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SYNC_METHOD, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CLIENT_STATUS, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -298,7 +298,7 @@ gst_video_scale_class_init (GstVideoScaleClass * klass)
|
|||
_size_quark = g_quark_from_static_string (GST_META_TAG_VIDEO_SIZE_STR);
|
||||
_scale_quark = gst_video_meta_transform_scale_get_quark ();
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_SCALE_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_SCALE_METHOD, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -377,9 +377,9 @@ gst_video_test_src_class_init (GstVideoTestSrcClass * klass)
|
|||
|
||||
gstpushsrc_class->fill = gst_video_test_src_fill;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_TEST_SRC_ANIMATION_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_TEST_SRC_MOTION_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_TEST_SRC_PATTERN);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_TEST_SRC_ANIMATION_MODE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_TEST_SRC_MOTION_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_TEST_SRC_PATTERN, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue