[vlmc-devel] commit: MediaPlayer: Removed old hack, as vlc fixed the thing upstream. ( Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Wed Mar 17 10:49:29 CET 2010


vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Wed Mar 17 10:48:39 2010 +0100| [9397a6ad2d9d3b8922d42334d2471c98c8f84374] | committer: Hugo Beauzee-Luyssen 

MediaPlayer: Removed old hack, as vlc fixed the thing upstream.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=9397a6ad2d9d3b8922d42334d2471c98c8f84374
---

 src/LibVLCpp/VLCMediaPlayer.cpp |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/LibVLCpp/VLCMediaPlayer.cpp b/src/LibVLCpp/VLCMediaPlayer.cpp
index f0bcc16..c950226 100644
--- a/src/LibVLCpp/VLCMediaPlayer.cpp
+++ b/src/LibVLCpp/VLCMediaPlayer.cpp
@@ -100,11 +100,7 @@ void                            MediaPlayer::callbacks( const libvlc_event_t* ev
         self->emit endReached();
         break;
     case libvlc_MediaPlayerTimeChanged:
-#ifdef Q_OS_WIN
-        self->emit timeChanged( event->u.media_player_time_changed.new_time / 1000 );
-#else
         self->emit timeChanged( event->u.media_player_time_changed.new_time );
-#endif
         break;
     case libvlc_MediaPlayerPositionChanged:
         //qDebug() << self << "position changed : " << event->u.media_player_position_changed.new_position;



More information about the Vlmc-devel mailing list