GNOME Bugzilla – Bug 517621
Accept trailing ';' in caps string
Last modified: 2008-02-20 19:04:09 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 ';'.
I think this bug is fixed in HEAD. I could not reproduce it with gst_caps_from_string (bad_string_with_trailing;).