From fdfe797d4e50249f3eb8f01978a34ebe3f2565b8 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 7 May 2020 09:05:06 -0400 Subject: [PATCH] validate:transcoding: Exit after printing the help Fixes CID 1455575 Part-of: --- validate/tools/gst-validate-transcoding.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/validate/tools/gst-validate-transcoding.c b/validate/tools/gst-validate-transcoding.c index fcf07daa74..6993b01240 100644 --- a/validate/tools/gst-validate-transcoding.c +++ b/validate/tools/gst-validate-transcoding.c @@ -486,6 +486,9 @@ main (int argc, gchar ** argv) g_option_context_free (ctx); + if (want_help) + exit (0); + if (scenario || configs) { gchar *scenarios;