mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
validate: Better organize rendered files
This commit is contained in:
parent
ca12b78be3
commit
10c192f693
2 changed files with 8 additions and 12 deletions
|
@ -120,12 +120,10 @@ class GESRenderTest(GESTest):
|
|||
self._set_rendering_info()
|
||||
|
||||
def _set_rendering_info(self):
|
||||
self.dest_file = os.path.join(self.options.dest,
|
||||
"ges.",
|
||||
os.path.basename(self.project_uri) +
|
||||
'-' + self.combination.acodec +
|
||||
self.combination.vcodec + '.' +
|
||||
self.combination.container)
|
||||
self.dest_file = path = os.path.join(self.options.dest,
|
||||
self.classname.replace(".render.", os.sep).
|
||||
replace(".", os.sep))
|
||||
utils.mkdir(os.path.dirname(urlparse.urlsplit(self.dest_file).path))
|
||||
if not utils.isuri(self.dest_file):
|
||||
self.dest_file = utils.path2url(self.dest_file)
|
||||
|
||||
|
|
|
@ -185,12 +185,10 @@ class GstValidateTranscodingTest(GstValidateTest):
|
|||
self.dest_file = ""
|
||||
|
||||
def set_rendering_info(self):
|
||||
self.dest_file = os.path.join(self.options.dest,
|
||||
"validate.transcoding." +
|
||||
os.path.basename(self.uri) +
|
||||
'-' + self.combination.acodec +
|
||||
self.combination.vcodec + '.' +
|
||||
self.combination.container)
|
||||
self.dest_file = path = os.path.join(self.options.dest,
|
||||
self.classname.replace(".transcode.", os.sep).
|
||||
replace(".", os.sep))
|
||||
utils.mkdir(os.path.dirname(urlparse.urlsplit(self.dest_file).path))
|
||||
if urlparse.urlparse(self.dest_file).scheme == "":
|
||||
self.dest_file = path2url(self.dest_file)
|
||||
|
||||
|
|
Loading…
Reference in a new issue