mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
scenario: Do not execute anything when listing scenarios
This commit is contained in:
parent
71758d49da
commit
9dfee4dffa
1 changed files with 4 additions and 1 deletions
|
@ -147,9 +147,12 @@ main (int argc, gchar ** argv)
|
|||
gst_init (&argc, &argv);
|
||||
gst_validate_init ();
|
||||
|
||||
if (list_scenarios)
|
||||
if (list_scenarios) {
|
||||
gst_validate_list_scenarios ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (argc == 1) {
|
||||
g_print ("%s", g_option_context_get_help (ctx, FALSE, NULL));
|
||||
g_option_context_free (ctx);
|
||||
|
|
Loading…
Reference in a new issue