mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 06:29:31 +00:00
validate:tools: Don't give file duration as timeout for gst-validate
We use the other mean letting us actually control the process advancement.
This commit is contained in:
parent
cdff1c93ca
commit
ff30c6ba3c
1 changed files with 2 additions and 8 deletions
|
@ -50,11 +50,8 @@ COMBINATIONS = [
|
||||||
class GstValidateLaunchTest(GstValidateTest):
|
class GstValidateLaunchTest(GstValidateTest):
|
||||||
def __init__(self, classname, options, reporter, pipeline_desc,
|
def __init__(self, classname, options, reporter, pipeline_desc,
|
||||||
timeout=DEFAULT_TIMEOUT, scenario=None, file_infos=None):
|
timeout=DEFAULT_TIMEOUT, scenario=None, file_infos=None):
|
||||||
if file_infos is not None:
|
|
||||||
timeout = file_infos.get("media-info", "file-duration")
|
|
||||||
|
|
||||||
super(GstValidateLaunchTest, self).__init__(DEFAULT_GST_VALIDATE, classname,
|
super(GstValidateLaunchTest, self).__init__(DEFAULT_GST_VALIDATE, classname,
|
||||||
options, reporter, timeout=timeout,
|
options, reporter,
|
||||||
scenario=scenario,)
|
scenario=scenario,)
|
||||||
self.pipeline_desc = pipeline_desc
|
self.pipeline_desc = pipeline_desc
|
||||||
self.file_infos = file_infos
|
self.file_infos = file_infos
|
||||||
|
@ -71,12 +68,9 @@ class GstValidateTranscodingTest(GstValidateTest):
|
||||||
def __init__(self, classname, options, reporter,
|
def __init__(self, classname, options, reporter,
|
||||||
combination, uri, file_infos):
|
combination, uri, file_infos):
|
||||||
|
|
||||||
if file_infos is not None:
|
|
||||||
timeout = file_infos.get("media-info", "file-duration")
|
|
||||||
|
|
||||||
super(GstValidateTranscodingTest, self).__init__(
|
super(GstValidateTranscodingTest, self).__init__(
|
||||||
DEFAULT_GST_VALIDATE_TRANSCODING, classname,
|
DEFAULT_GST_VALIDATE_TRANSCODING, classname,
|
||||||
options, reporter, timeout=timeout, scenario=None)
|
options, reporter, scenario=None)
|
||||||
self.uri = uri
|
self.uri = uri
|
||||||
self.combination = combination
|
self.combination = combination
|
||||||
self.dest_file = ""
|
self.dest_file = ""
|
||||||
|
|
Loading…
Reference in a new issue