mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
validate:launcher: Do not except meaningless argument in ges-launch
This commit is contained in:
parent
804cdb5ad2
commit
97482e2512
1 changed files with 5 additions and 3 deletions
|
@ -216,10 +216,12 @@ class GESTestsManager(TestsManager):
|
|||
projects.append(utils.path2url(os.path.join(path, root, f)))
|
||||
else:
|
||||
for proj in self.args:
|
||||
if utils.isuri(proj):
|
||||
if not utils.isuri(proj):
|
||||
proj = utils.path2url(proj)
|
||||
|
||||
if os.path.exists(proj):
|
||||
projects.append(proj)
|
||||
else:
|
||||
projects.append(utils.path2url(proj))
|
||||
|
||||
SCENARIOS = ["play_15s",
|
||||
"seek_forward",
|
||||
"seek_backward",
|
||||
|
|
Loading…
Reference in a new issue