1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-17 05:01:41 +02:00

Plugin path

This commit is contained in:
Rémi Denis-Courmont 2007-10-26 15:41:51 +00:00
parent 998b5e6f6b
commit 5d29b33987

View File

@ -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;
}