mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
validate: tools: Init gst-validate before listing scenarios
And return 0 when only listing scenarios
This commit is contained in:
parent
6ab7f17386
commit
efc6938d01
1 changed files with 5 additions and 2 deletions
|
@ -828,10 +828,13 @@ main (int argc, gchar ** argv)
|
||||||
g_free (scenarios);
|
g_free (scenarios);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (list_scenarios)
|
gst_validate_init ();
|
||||||
|
|
||||||
|
if (list_scenarios) {
|
||||||
gst_validate_list_scenarios ();
|
gst_validate_list_scenarios ();
|
||||||
|
|
||||||
gst_validate_init ();
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
_register_actions ();
|
_register_actions ();
|
||||||
|
|
Loading…
Reference in a new issue