tools: Disable --set-scenario if not compiled against gst-validate

https://bugzilla.gnome.org/show_bug.cgi?id=729382
This commit is contained in:
Thibault Saunier 2014-04-26 09:51:37 +02:00
parent ff1446c2b2
commit 44cbc27cb8

View file

@ -682,9 +682,11 @@ main (int argc, gchar ** argv)
"Defines the track types to be created"},
{"mute", 0, 0, G_OPTION_ARG_NONE, &mute,
"Mute playback output, which means that we use faksinks"},
#ifdef HAVE_GST_VALIDATE
{"set-scenario", 0, 0, G_OPTION_ARG_STRING, &scenario,
"Specify a GstValidate scenario to run, 'none' means load gst-validate"
" but run no scenario on it", "<scenario_name>"},
#endif
{NULL}
};