mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
validate:launcher: Avoid using sync=true on fakesinks
Making the test run much faster!
This commit is contained in:
parent
b075646451
commit
fcb8a77e17
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ class GstValidatePlaybinTestsGenerator(GstValidatePipelineTestsGenerator):
|
||||||
protocol = minfo.media_descriptor.get_protocol()
|
protocol = minfo.media_descriptor.get_protocol()
|
||||||
|
|
||||||
if self.test_manager.options.mute:
|
if self.test_manager.options.mute:
|
||||||
fakesink = "'fakesink sync=true'"
|
fakesink = "'fakesink'"
|
||||||
pipe += " audio-sink=%s video-sink=%s" %(fakesink, fakesink)
|
pipe += " audio-sink=%s video-sink=%s" %(fakesink, fakesink)
|
||||||
|
|
||||||
pipe += " uri=%s" % uri
|
pipe += " uri=%s" % uri
|
||||||
|
@ -235,7 +235,7 @@ class GstValidateMixerTestsGenerator(GstValidatePipelineTestsGenerator):
|
||||||
pipe_arguments = {"mixer": self.mixer}
|
pipe_arguments = {"mixer": self.mixer}
|
||||||
|
|
||||||
if self.test_manager.options.mute:
|
if self.test_manager.options.mute:
|
||||||
pipe_arguments["sink"] = "'fakesink sync=true'"
|
pipe_arguments["sink"] = "'fakesink'"
|
||||||
else:
|
else:
|
||||||
pipe_arguments["sink"] = "auto%ssink" % self.media_type
|
pipe_arguments["sink"] = "auto%ssink" % self.media_type
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue