mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
glvideomixer, glmixer: Add description and klass
This commit is contained in:
parent
1c66a33c56
commit
50d5d0a161
2 changed files with 9 additions and 0 deletions
|
@ -177,6 +177,10 @@ gst_gl_mixer_bin_class_init (GstGLMixerBinClass * klass)
|
||||||
gst_pad_template_new ("sink_%u", GST_PAD_SINK, GST_PAD_REQUEST,
|
gst_pad_template_new ("sink_%u", GST_PAD_SINK, GST_PAD_REQUEST,
|
||||||
upload_caps));
|
upload_caps));
|
||||||
gst_caps_unref (upload_caps);
|
gst_caps_unref (upload_caps);
|
||||||
|
|
||||||
|
gst_element_class_set_metadata (element_class, "OpenGL video_mixer empty bin",
|
||||||
|
"Bin/Filter/Effect/Video/Mixer", "OpenGL video_mixer empty bin",
|
||||||
|
"Matthew Waters <matthew@centricular.com>");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -273,6 +273,7 @@ static void
|
||||||
gst_gl_video_mixer_bin_class_init (GstGLVideoMixerBinClass * klass)
|
gst_gl_video_mixer_bin_class_init (GstGLVideoMixerBinClass * klass)
|
||||||
{
|
{
|
||||||
GstGLMixerBinClass *mixer_class = GST_GL_MIXER_BIN_CLASS (klass);
|
GstGLMixerBinClass *mixer_class = GST_GL_MIXER_BIN_CLASS (klass);
|
||||||
|
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||||
|
|
||||||
mixer_class->create_input_pad = _create_video_mixer_input;
|
mixer_class->create_input_pad = _create_video_mixer_input;
|
||||||
|
@ -284,6 +285,10 @@ gst_gl_video_mixer_bin_class_init (GstGLVideoMixerBinClass * klass)
|
||||||
g_param_spec_enum ("background", "Background", "Background type",
|
g_param_spec_enum ("background", "Background", "Background type",
|
||||||
GST_GL_TYPE_VIDEO_MIXER_BACKGROUND,
|
GST_GL_TYPE_VIDEO_MIXER_BACKGROUND,
|
||||||
DEFAULT_BACKGROUND, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
DEFAULT_BACKGROUND, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
gst_element_class_set_metadata (element_class, "OpenGL video_mixer bin",
|
||||||
|
"Bin/Filter/Effect/Video/Compositor", "OpenGL video_mixer bin",
|
||||||
|
"Matthew Waters <matthew@centricular.com>");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue