Commit 92f4dcd3 authored by Christophe Courtaut's avatar Christophe Courtaut

Fixed time computation due to a fix in vlc.

parent 8c1798f7
......@@ -102,7 +102,7 @@ void MediaPlayer::callbacks( const libvlc_event_t* ev
self->emit endReached();
break;
case libvlc_MediaPlayerTimeChanged:
self->emit timeChanged( event->u.media_player_time_changed.new_time / 1000 );
self->emit timeChanged( event->u.media_player_time_changed.new_time );
break;
case libvlc_MediaPlayerPositionChanged:
// qDebug() << self << "position changed : " << event->u.media_player_position_changed.new_position;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment