[gstreamer-bugs] [Bug 164479] [cli-tools] gst_parse_launch can't handle spaces

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Mar 21 08:23:22 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=164479
 GStreamer | gstreamer (core) | Ver: HEAD CVS

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37335|0                           |1
        is obsolete|                            |
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.8.10



------- Additional Comments From Tim-Philipp Müller  2005-03-21 11:23 -------
The thing is that only spaces seem to be escaped, not brackets etc.

The cleaner fix would undoubtedly have been to unescape the string once before
parsing and then parse it in the usual way, but that would have been much less
straight-forward and more error-prone IMHO, because of the gchar **end out
parameter in gst_structure_new_from_string() and related functions (you can't
just add the number of escaped spaces to the end-pointer-in-the-unescaped-string
because it's not easy to know how many of the escaped spaces are in the parsed
part of the string and how many are in the part of the string after *end etc.).

Anyway, committed and changed as suggested.

Cheers
 -Tim


------- You are receiving this mail because: -------
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list