How to set the title C# Wiki Version using 0.9.x
Posted: 05 Jun 2008 13:45
I am using a modified version of the Wiki C# control and libvlc 0.9 (mainly vlc_current_object replaced by vlc_object_get and a few other tweeks). It works well but I have one nagging thing I can't figure out.
By default the file name is shown on-screen. Under the ActiveX version of 0.9 you can get around this by setting the "name" argument of .playlist.add
Can anyone tell me the equivellant operation in libvlc 0.9 ? When I saw that the C# control from the Wiki had a call that was similar
I thought I was on to something but the second parameter is not used for anything.
Any help greatly appreciated.
P.S. I am using 0.9.x because I need the sound to continue to be heard when I do a SetVlcObjectInt(ObjectType.VLC_OBJECT_INPUT, "rate", .... to something other than 1X and that part works great! Thanks VideoLan for the excellent control !!!
By default the file name is shown on-screen. Under the ActiveX version of 0.9 you can get around this by setting the "name" argument of .playlist.add
Code: Select all
//Note: blank char as second argument prevents file name displayed on top of video
axVLCPlugin21.playlist.add(filePath, @" ", options);
Code: Select all
string[] options = new string[] { ":no-overlay", ":drop-late-frames"};
vlc1.AddToPlayList(filePath, @" ", options);
Any help greatly appreciated.
P.S. I am using 0.9.x because I need the sound to continue to be heard when I do a SetVlcObjectInt(ObjectType.VLC_OBJECT_INPUT, "rate", .... to something other than 1X and that part works great! Thanks VideoLan for the excellent control !!!