libvlc 0.9.4 event bug
Posted: 24 Oct 2008 06:58
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
actual time = 25ms
value obtained from libvlc_event_t parameter = 25000
value returned from libvlc_media_player_get_time = 25