mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-03 10:43:55 +00:00
validate:launcher: Review default for --mute
`--mute` is now True by default and added `--unmute` if the user wants to have visual/audio feedback. It was really annoying to have thousand of window pop up by default
This commit is contained in:
parent
a77825ecbc
commit
19dfd63408
1 changed files with 7 additions and 1 deletions
|
@ -186,7 +186,8 @@ class LauncherConfig(Loggable):
|
||||||
self.wanted_tests = []
|
self.wanted_tests = []
|
||||||
self.blacklisted_tests = []
|
self.blacklisted_tests = []
|
||||||
self.list_tests = False
|
self.list_tests = False
|
||||||
self.mute = False
|
self.mute = True
|
||||||
|
self.unmute = not self.mute
|
||||||
self.no_color = False
|
self.no_color = False
|
||||||
self.generate_info = False
|
self.generate_info = False
|
||||||
self.update_media_info = False
|
self.update_media_info = False
|
||||||
|
@ -238,6 +239,7 @@ class LauncherConfig(Loggable):
|
||||||
else:
|
else:
|
||||||
self.output_dir = os.path.abspath(self.output_dir)
|
self.output_dir = os.path.abspath(self.output_dir)
|
||||||
|
|
||||||
|
self.mute = not self.unmute
|
||||||
if self.gdb_non_stop:
|
if self.gdb_non_stop:
|
||||||
self.gdb = True
|
self.gdb = True
|
||||||
|
|
||||||
|
@ -422,6 +424,10 @@ class LauncherConfig(Loggable):
|
||||||
dest="list_tests",
|
dest="list_tests",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="List tests and exit")
|
help="List tests and exit")
|
||||||
|
parser.add_argument("--unmute", dest="unmute",
|
||||||
|
action="store_true",
|
||||||
|
help="Unmute playback output, which means that we use "
|
||||||
|
"'real' sinks")
|
||||||
parser.add_argument("-m", "--mute", dest="mute",
|
parser.add_argument("-m", "--mute", dest="mute",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Mute playback output, which means that we use "
|
help="Mute playback output, which means that we use "
|
||||||
|
|
Loading…
Reference in a new issue