mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 14:38:48 +00:00
use the setup_sink_props_max_lateness config scenario with valgrind
Reviewers: thiblahute Differential Revision: http://phabricator.freedesktop.org/D141
This commit is contained in:
parent
4a8d4ddbf6
commit
b947e1c2ef
2 changed files with 10 additions and 1 deletions
|
@ -0,0 +1,3 @@
|
|||
description, is-config=true
|
||||
set-property, target-element-klass=Sink/Video, property-name=max-lateness, property-value=600, optional=true
|
||||
set-property, target-element-klass=Sink/Audio, property-name=max-lateness, property-value=600, optional=true
|
|
@ -466,7 +466,13 @@ class GstValidateTest(Test):
|
|||
self.add_env_variable('GST_GL_XINITTHREADS', '1')
|
||||
|
||||
if self.scenario is not None:
|
||||
subproc_env["GST_VALIDATE_SCENARIO"] = self.scenario.get_execution_name()
|
||||
scenario = self.scenario.get_execution_name()
|
||||
if self.options.valgrind:
|
||||
# Increase sink's max-lateness property when running inside
|
||||
# Valgrind as it slows down everything quiet a lot.
|
||||
scenario = "setup_sink_props_max_lateness:%s" % scenario
|
||||
|
||||
subproc_env["GST_VALIDATE_SCENARIO"] = scenario
|
||||
self.add_env_variable("GST_VALIDATE_SCENARIO",
|
||||
subproc_env["GST_VALIDATE_SCENARIO"])
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue