mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
visual: correct type name
Base class type name should not reference libvisual since not all child elements use this. This was an oversight when merging audiovisualizers into a common base class.
This commit is contained in:
parent
221e661f07
commit
e23b12b1c9
1 changed files with 3 additions and 6 deletions
|
@ -167,9 +167,7 @@ gst_audio_visualizer_shader_get_type (void)
|
|||
|
||||
if (G_UNLIKELY (shader_type == 0)) {
|
||||
/* TODO: rename when exporting it as a library */
|
||||
shader_type =
|
||||
g_enum_register_static
|
||||
("GstAudioVisualizerShader-BaseExtLibvisual", shaders);
|
||||
shader_type = g_enum_register_static ("GstAudioVisualizerShader", shaders);
|
||||
}
|
||||
return shader_type;
|
||||
}
|
||||
|
@ -553,8 +551,7 @@ gst_audio_visualizer_get_type (void)
|
|||
|
||||
/* TODO: rename when exporting it as a library */
|
||||
_type = g_type_register_static (GST_TYPE_ELEMENT,
|
||||
"GstAudioVisualizer-BaseExtLibvisual", &audio_visualizer_info,
|
||||
G_TYPE_FLAG_ABSTRACT);
|
||||
"GstAudioVisualizer", &audio_visualizer_info, G_TYPE_FLAG_ABSTRACT);
|
||||
g_once_init_leave (&audio_visualizer_type, _type);
|
||||
}
|
||||
return (GType) audio_visualizer_type;
|
||||
|
|
Loading…
Reference in a new issue