I have a simple app built using vlc 1.1.11 and VC6. It plays a fixed mpeg2 file which is 36 minutes (2160 secs) in length, of which the the last minute of video is all "black" trailer frames. I am trying to syncronise the playing of the same file on a number of machines using some tcp/ip sockets messages. To do this I am waiting for libvlc_media_player_get_position() to report a value of 0.9985, ie 2156 seconds into the play and then pause, wait for sync, set pos = 0 and then play again. This works fine and gives a smooth roll around. HOWEVER when libvlc reports pos = 0.9985 it is not actually in the 1 minute of black trailer but still in the last 4 seconds of the bit before the black trailer. Its like vlc is ignoring the black trailer play time when reporting its position. Is this another bug
I have already tried using libvlc_media_player_get_time() but this always reports a value of ZERO. So thats definatly broke.
Is there a work around I could try ??
Regards
Neil