From 44cbc27cb831575f81dc9684ebf05be647f232c2 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Sat, 26 Apr 2014 09:51:37 +0200 Subject: [PATCH] tools: Disable --set-scenario if not compiled against gst-validate https://bugzilla.gnome.org/show_bug.cgi?id=729382 --- tools/ges-launch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ges-launch.c b/tools/ges-launch.c index 82ab3b4..237768c 100644 --- a/tools/ges-launch.c +++ b/tools/ges-launch.c @@ -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", ""}, +#endif {NULL} }; -- 2.7.4