diff --git a/sample/GstPlayer.cs b/sample/GstPlayer.cs index 8af78c7e6..9565ce677 100644 --- a/sample/GstPlayer.cs +++ b/sample/GstPlayer.cs @@ -11,6 +11,12 @@ public class GstTest { static void Main(string[] args) { + if (args.Length != 1) + { + Console.WriteLine ("usage: Gst.Player.exe FILE.ogg"); + return; + } + Application.Init (); /* create a new bin to hold the elements */