mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
validate: Use proper sink and give them good names
This commit is contained in:
parent
5e4555c6b3
commit
b8b9441adb
1 changed files with 9 additions and 1 deletions
|
@ -150,7 +150,15 @@ class GESTest(GstValidateTest):
|
||||||
GstValidateTest.build_arguments(self)
|
GstValidateTest.build_arguments(self)
|
||||||
|
|
||||||
if self.options.mute:
|
if self.options.mute:
|
||||||
self.add_arguments("--mute")
|
needs_clock = self.scenario.needs_clock_sync() \
|
||||||
|
if self.scenario else False
|
||||||
|
audiosink = utils.get_fakesink_for_media_type("audio", needs_clock)
|
||||||
|
videosink = utils.get_fakesink_for_media_type("video", needs_clock)
|
||||||
|
else:
|
||||||
|
audiosink = 'autoaudiosink'
|
||||||
|
videosink = 'autovideosink'
|
||||||
|
self.add_arguments("--videosink", videosink + " name=videosink")
|
||||||
|
self.add_arguments("--audiosink", audiosink + " name=audiosink")
|
||||||
|
|
||||||
self.set_sample_paths()
|
self.set_sample_paths()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue