[gstreamer-bugs] [Bug 629946] New: Enumerations have incorrect names of enum values (GEnumValue.value_name)
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Sep 17 11:08:46 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=629946
GStreamer | gstreamer (core) | unspecified
Summary: Enumerations have incorrect names of enum values
(GEnumValue.value_name)
Classification: Desktop
Product: GStreamer
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: slomo at circular-chaos.org
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: t.i.m at zen.co.uk, ex.rzrjck at gmail.com
GNOME target: ---
GNOME version: ---
+++ This bug was initially created as a clone of Bug #629746 +++
For example:
http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst-libs/gst/audio/gstbaseaudiosrc.c#n52
http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst-libs/gst/audio/gstbaseaudiosink.c#n114
The second value in GEnumValue should be a string such as
"GST_BASE_AUDIO_SRC_SLAVE_RESAMPLE".
So gobject-introspection .gir files contain incorrect values of c:identifier
attributes:
[20:47:37 /usr/share/gir-1.0]$ grep -RnTo --color -E
'c:identifier="[A-Z0-9_][a-z]+.*' *
GstAudio-0.10.gir: 839 :c:identifier="Resampling slaving"
GstAudio-0.10.gir: 843 :c:identifier="Skew slaving"
GstAudio-0.10.gir: 847 :c:identifier="No slaving"
GstAudio-0.10.gir:1006 :c:identifier="Resampling slaving"
GstAudio-0.10.gir:1010 :c:identifier="Re-timestamp"
GstAudio-0.10.gir:1012 :c:identifier="Skew" glib:nick="skew"/>
GstAudio-0.10.gir:1015 :c:identifier="No slaving"
...
There're a lot of enums with same problems in GStreamer and its subprojects
(run something like "grep -RnT --color -A 2 GEnumValue *" and check results).
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list