validate:launcher: handle spaces in transcode output path
authorVineeth T M <vineeth.tm@samsung.com>
Thu, 8 Oct 2015 01:19:39 +0000 (10:19 +0900)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 17 Feb 2016 21:33:32 +0000 (22:33 +0100)
When there are spaces in transcoding output path, then it fails. Hence adding the
path in double quotes

https://bugzilla.gnome.org/show_bug.cgi?id=756217

validate/launcher/apps/gstvalidate.py

index 6659322..f0ad749 100644 (file)
@@ -482,7 +482,7 @@ class GstValidateTranscodingTest(GstValidateTest, GstValidateEncodingTestInterfa
     def build_arguments(self):
         GstValidateTest.build_arguments(self)
         self.set_rendering_info()
-        self.add_arguments(self.uri, self.dest_file)
+        self.add_arguments(self.uri, '"' + self.dest_file + '"')
 
     def get_current_value(self):
         if self.scenario: