mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
glviewconvert: fix GEnumValue declaration
The purpose of value_name in GEnumValue structure is to express in text format the name of the enum, not a description of the value, so it can be use later for the gir file generation. https://bugzilla.gnome.org/show_bug.cgi?id=797144
This commit is contained in:
parent
bccc69fadb
commit
fae3f7cb56
1 changed files with 5 additions and 3 deletions
|
@ -124,12 +124,14 @@ gst_gl_stereo_downmix_mode_get_type (void)
|
||||||
if (g_once_init_enter (&g_define_type_id__volatile)) {
|
if (g_once_init_enter (&g_define_type_id__volatile)) {
|
||||||
static const GEnumValue values[] = {
|
static const GEnumValue values[] = {
|
||||||
{GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS,
|
{GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS,
|
||||||
"Dubois optimised Green-Magenta anaglyph", "green-magenta-dubois"},
|
"GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS",
|
||||||
|
"green-magenta-dubois"},
|
||||||
{GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS,
|
{GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS,
|
||||||
"Dubois optimised Red-Cyan anaglyph",
|
"GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS",
|
||||||
"red-cyan-dubois"},
|
"red-cyan-dubois"},
|
||||||
{GST_GL_STEREO_DOWNMIX_ANAGLYPH_AMBER_BLUE_DUBOIS,
|
{GST_GL_STEREO_DOWNMIX_ANAGLYPH_AMBER_BLUE_DUBOIS,
|
||||||
"Dubois optimised Amber-Blue anaglyph", "amber-blue-dubois"},
|
"GST_GL_STEREO_DOWNMIX_ANAGLYPH_AMBER_BLUE_DUBOIS",
|
||||||
|
"amber-blue-dubois"},
|
||||||
{0, NULL, NULL}
|
{0, NULL, NULL}
|
||||||
};
|
};
|
||||||
GType g_define_type_id =
|
GType g_define_type_id =
|
||||||
|
|
Loading…
Reference in a new issue