I'm using nativeVlc.cs (C#) to access libvlc. I have a video that I want to start playback at X amount of time into the video.
For some reason the code I have here works but only after you have begun playing the video once. The first time you play the video it starts at the very beginning. Subsequent calls adhere to the time setting and video playback begins at the time specified. Any ideas what's wrong? Also note that if I use Play(item) it completely ignores the time altogether.
if (textBox1.Text != "")
{
this.nativeVlc.Time = Convert.ToInt32(textBox1.Text);
}
this.nativeVlc.AddTarget("c:\\temp\\foo.mpg", null, ref item);
//this.nativeVlc.Play(item);
this.nativeVlc.Play();