validate:launcher: Avoid using sync=true on fakesinks

Making the test run much faster!
This commit is contained in:
Thibault Saunier 2014-07-16 19:38:01 +02:00
parent b075646451
commit fcb8a77e17

View file

@ -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