From 5d29b33987158c7272dac74f8bc7c0dcf2fa0db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Fri, 26 Oct 2007 15:41:51 +0000 Subject: [PATCH] Plugin path --- bindings/cil/testvlc.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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; }