[Bug 688625] New: gst-launch parsing behaviour changed to bogus behaviour when quoting

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 19 01:25:21 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=688625
  GStreamer | gstreamer (core) | 0.10.36

           Summary: gst-launch parsing behaviour changed to bogus
                    behaviour when quoting
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: thomas at apestaart.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


In 0.10.36 on F17 quoting behavior is incorrect.

As a comparison,

A) gst-launch-0.10 audiotestsrc num-buffers=1 ! filesink location='12".dump'

correctly creates a file called 12".dump

but 

B) gst-launch-0.10 audiotestsrc num-buffers=1 ! filesink location='12" .dump'

(space after double quote)

creates

12"\ .dump

(inserts an actual backslash after the double quote)

C) gst-launch-0.10 audiotestsrc num-buffers=1 ! filesink location='".dump'

creates
.dump

(ie, drops the leading quote AND the last letter!)

If all the examples are changed to swap single for double quotes, all of them
work fine.

In Fedora 16 with 0.10.35, A) and B) are correct, and C) is wrong too.

So at least B) is a regression going from 0.10.35 to 0.10.36

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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