X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=subprojects%2Fgst-plugins-base%2Ftools%2Fgst-discoverer.c;h=b042be535d15c4578e35dd5ad6f6fa494fcc0ce9;hb=cb08a6d8dc3cf153f62cc7097945fac1efae7338;hp=a50f5aaee46a547730c0f56c573fdfb7c2f49347;hpb=b2feff23bc3be757e6ad046387867fc35a787d12;p=platform%2Fupstream%2Fgstreamer.git diff --git a/subprojects/gst-plugins-base/tools/gst-discoverer.c b/subprojects/gst-plugins-base/tools/gst-discoverer.c index a50f5aa..b042be5 100644 --- a/subprojects/gst-plugins-base/tools/gst-discoverer.c +++ b/subprojects/gst-plugins-base/tools/gst-discoverer.c @@ -685,6 +685,10 @@ real_main (int argc, char **argv) g_option_context_free (ctx); +#ifdef G_OS_WIN32 + argc = g_strv_length (argv); +#endif + if (argc < 2) { g_print ("usage: %s \n", argv[0]); exit (-1);