After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776420 - videoparse: Inconsistent naming of "format" property enums and format field in caps
videoparse: Inconsistent naming of "format" property enums and format field i...
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 774544
 
 
Reported: 2016-12-23 01:44 UTC by Simon Feltman
Modified: 2017-02-21 05:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon Feltman 2016-12-23 01:44:56 UTC
For example:

videoparse uses "i422-10le" for GST_VIDEO_FORMAT_I422_10LE and
capsfilter strings use "I422_10LE".

One of these should be updated to support the other for the sake of consistency (otherwise scripts need to muck around with this). I'd be happy to look at submitting a patch but would need some direction.
Comment 1 Tim-Philipp Müller 2016-12-23 10:01:37 UTC
Yes, I've been wondering about that as well.
Comment 2 Sebastian Dröge (slomo) 2016-12-23 10:09:01 UTC
The names come from the GstVideoFormat enum, which is generated by glib-mkenums. Same goes for rawaudioparse.

I don't think we can change those because of API stability, so would have to register a new enum that is equivalent but has different nicks for the values. Seems ugly.
Comment 3 Sebastian Dröge (slomo) 2017-02-18 18:13:57 UTC
Any comments? Otherwise I'd just leave it as is
Comment 4 Tim-Philipp Müller 2017-02-20 20:35:25 UTC
Juts leave it then I suppose.
Comment 5 Sebastian Dröge (slomo) 2017-02-21 05:49:20 UTC
Then let's go with that