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 517621 - Accept trailing ';' in caps string
Accept trailing ';' in caps string
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-20 10:17 UTC by Marc-Andre Lureau
Modified: 2008-02-20 19:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marc-Andre Lureau 2008-02-20 10:17:52 UTC
This error is not very explicit:

GLIB CRITICAL ** GStreamer - Could not convert static caps "audio/x-sbc, rate = (int) { 16000, 32000, 44100, 48000 }, channels = (int) 
[ 1, 2 ], mode = (string) { mono, dual, stereo, joint }, blocks = (int) { 4, 8, 
12, 16 }, subbands = (int) { 4, 8 }, allocation = (string) { snr, loudness },
bitpool = (int) [ 2, 64 ]; audio/mpeg;"  

Furthermore, it's not really bad to have a trailing ';' in the end of the string.

It seems "gst_structure_from_string" should accept trailing ';'.
Comment 1 Marc-Andre Lureau 2008-02-20 19:04:09 UTC
I think this bug is fixed in HEAD.
I could not reproduce it with gst_caps_from_string (bad_string_with_trailing;).