mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
glvideomixer, glmixer: Add description and klass
This commit is contained in:
parent
0319013726
commit
81b9d1531d
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,
|
||||
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
|
||||
|
|
|
@ -273,6 +273,7 @@ static void
|
|||
gst_gl_video_mixer_bin_class_init (GstGLVideoMixerBinClass * klass)
|
||||
{
|
||||
GstGLMixerBinClass *mixer_class = GST_GL_MIXER_BIN_CLASS (klass);
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||
|
||||
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",
|
||||
GST_GL_TYPE_VIDEO_MIXER_BACKGROUND,
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue