[Bug 688625] gst-launch: incorrect parsing behaviour with spaces and quotes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 28 03:15:30 PST 2014


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
            Version|0.10.36                     |git
            Summary|gst-launch parsing          |gst-launch: incorrect
                   |behaviour changed to bogus  |parsing behaviour with
                   |behaviour when quoting      |spaces and quotes
           Severity|normal                      |minor

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-11-28 11:15:26 UTC ---
Still some problems with git master:

B) now fails differently, and I think this failure is somewhat correct because
the ' shell quotes don't get passed to gst-launch; although it could probably
handle this by treating spaces within argv[x] differently.

$ gst-launch-1.0 audiotestsrc num-buffers=1 ! filesink location='12" .dump'
0:00:00.027121488 32286      0x2699560 ERROR           GST_PIPELINE
./grammar.y:757:priv_gst_parse_yyparse: unexpected pad-reference "dump" -
ignoring
WARNING: erroneous pipeline: unexpected pad-reference "dump" - ignoring


C) This one is "interesting":

$ gst-launch-1.0 audiotestsrc num-buffers=1 ! filesink location='".dump'
$ ls -l .dum 
-rw-r--r-- 1 tpm tpm 2048 Nov 28 11:10 .dum

-- 
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