[Bug 763814] dot files: fix enum properties

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 17 18:05:55 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763814

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
          Component|gst-plugins-good            |gstreamer (core)
            Summary|rtpjitterbuffer: fix enum   |dot files: fix enum
                   |description for buffer mode |properties

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Ah, I see.

I think this is a problem in the dot file generation code.

The thing with these enums is that GEnumValue doesn't have a field for
'description', so what we do is that for non-public enums we (ab)use the 'name'
field for the description. For public enums that would typically match the enum
in the header, so e.g. GstAudioSink slave-method would have:

  (1) skew - GST_AUDIO_BASE_SINK_SLAVE_SKEW

while for non-public API it's the description.

I think the dot file generation code should just always use the nick here, it's
shorter and will work in both scenarios.

-- 
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