Page 1 of 1

libvlc 0.9.4 event bug

Posted: 24 Oct 2008 06:58
by Kairos
I'm using the event manager to attach a callback to the libvlc_MediaPlayerTimeChanged event. I'm then reading the current time in my callback using the libvlc_event_t object. The time didn't look right to me so I compared it to the time I get back from libvlc_media_player_get_time and noticed that the time passed to my callback function is 1000 times bigger then the time returned from the libvlc_media_player_get_time result.

actual time = 25ms
value obtained from libvlc_event_t parameter = 25000
value returned from libvlc_media_player_get_time = 25

Re: libvlc event bug

Posted: 24 Oct 2008 09:37
by Kairos
I've also noticed that when you call stop via libvlc_media_player_stop the MediaPlayerEndReached event is thrown, not the MediaPlayerStopped event like I expected.

Re: libvlc 0.9.4 event bug

Posted: 25 Oct 2008 04:58
by Jean-Baptiste Kempf
Please fill a bug on that.