[Bug 771434] ges-launch cannot not load files with square brackets in the file name
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 14 15:39:33 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=771434
Mathieu Duponchelle <mduponchelle1 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #335536|none |needs-work
status| |
--- Comment #2 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
Review of attachment 335536:
--> (https://bugzilla.gnome.org/review?bug=771434&attachment=335536)
::: ges/ges-structure-parser.c
@@ -120,3 +124,3 @@
symbol++;
self->add_comma = FALSE;
set self->add_quote = TRUE here
@@ -123,8 +127,14 @@
- if (!g_ascii_strncasecmp (symbol, "clip", 4))
- ges_structure_parser_parse_string (self, "clip, uri=", TRUE);
- else if (!g_ascii_strncasecmp (symbol, "test-clip", 9))
... 5 more ...
+ if (!g_ascii_strncasecmp (symbol, "clip", 4)) {
+ self->add_quote = TRUE;
+ ges_structure_parser_parse_string (self, "clip, uri=\"", TRUE);
... 11 more ...
and set it to FALSE in an else clause there ;)
--
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