From: RĂ©mi Denis-Courmont Date: Fri, 26 Oct 2007 15:41:51 +0000 (+0000) Subject: Plugin path X-Git-Tag: 0.9.0-test0~4782 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5d29b33987158c7272dac74f8bc7c0dcf2fa0db9;p=vlc Plugin path --- diff --git a/bindings/cil/testvlc.cs b/bindings/cil/testvlc.cs index 1dde77a641..6f139db34b 100644 --- a/bindings/cil/testvlc.cs +++ b/bindings/cil/testvlc.cs @@ -30,10 +30,12 @@ namespace VideoLAN.LibVLC.Test { public static int Main (string[] args) { - string[] argv = new string[3]{ "-vvv", "-I", "dummy" }; + string[] argv = new string[]{ + "-vvv", "-I", "dummy", "--plugin-path=../../modules" + }; Instance vlc = VLC.CreateInstance (argv); - MediaDescriptor md = vlc.CreateDescriptor (args[0]); + MediaDescriptor md = vlc.CreateDescriptor ("/dev/null"); md.Dispose (); PlaylistItem item = null; @@ -44,10 +46,13 @@ namespace VideoLAN.LibVLC.Test vlc.Loop = false; vlc.TogglePause (); Console.ReadLine (); + vlc.Stop (); if (item != null) vlc.Delete (item); vlc.Clear (); + + Console.ReadLine (); vlc.Dispose (); return 0; }