validate: Stop always muting

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/178>
This commit is contained in:
Thibault Saunier 2020-05-26 19:02:58 -04:00
parent db5c62ad4c
commit 9efcf1549d

View file

@ -157,7 +157,8 @@ class GESTest(GstValidateTest):
def set_sink_args(self):
if self.testfile:
# testfile should be self contained and --mute should give required infos.
self.add_arguments("--mute")
if self.options.mute:
self.add_arguments("--mute")
return
if self.options.mute: