mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate:launcher: add quotes to the file path
When folder name contains space or other special characters, it fails to recognise the same and error is thrown. Adding the path inside to recognise the same https://bugzilla.gnome.org/show_bug.cgi?id=752611
This commit is contained in:
parent
074406bc2c
commit
aa6aebe41e
1 changed files with 2 additions and 2 deletions
|
@ -396,7 +396,7 @@ class GstValidateLaunchTest(GstValidateTest):
|
|||
self.add_arguments(self.pipeline_desc)
|
||||
if self.media_descriptor is not None and self.media_descriptor.get_path():
|
||||
self.add_arguments(
|
||||
"--set-media-info", self.media_descriptor.get_path())
|
||||
"--set-media-info", '"' + self.media_descriptor.get_path() + '"')
|
||||
|
||||
|
||||
class GstValidateMediaCheckTest(GstValidateTest):
|
||||
|
@ -415,7 +415,7 @@ class GstValidateMediaCheckTest(GstValidateTest):
|
|||
def build_arguments(self):
|
||||
Test.build_arguments(self)
|
||||
self.add_arguments(self._uri, "--expected-results",
|
||||
self._media_info_path)
|
||||
'"' + self._media_info_path + '"')
|
||||
|
||||
|
||||
class GstValidateTranscodingTest(GstValidateTest, GstValidateEncodingTestInterface):
|
||||
|
|
Loading…
Reference in a new issue