Commit 5d29b339 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Plugin path

parent 998b5e6f
...@@ -30,10 +30,12 @@ namespace VideoLAN.LibVLC.Test ...@@ -30,10 +30,12 @@ namespace VideoLAN.LibVLC.Test
{ {
public static int Main (string[] args) 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); Instance vlc = VLC.CreateInstance (argv);
MediaDescriptor md = vlc.CreateDescriptor (args[0]); MediaDescriptor md = vlc.CreateDescriptor ("/dev/null");
md.Dispose (); md.Dispose ();
PlaylistItem item = null; PlaylistItem item = null;
...@@ -44,10 +46,13 @@ namespace VideoLAN.LibVLC.Test ...@@ -44,10 +46,13 @@ namespace VideoLAN.LibVLC.Test
vlc.Loop = false; vlc.Loop = false;
vlc.TogglePause (); vlc.TogglePause ();
Console.ReadLine (); Console.ReadLine ();
vlc.Stop ();
if (item != null) if (item != null)
vlc.Delete (item); vlc.Delete (item);
vlc.Clear (); vlc.Clear ();
Console.ReadLine ();
vlc.Dispose (); vlc.Dispose ();
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment