From 5d72c3f72b8d4e00fb9d0d7470862267ed0c54ce Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 27 Sep 2012 01:18:50 +0000 Subject: [PATCH] - bugfix for looping --- .../sources/graphics/video_player.cpp | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/source/shared_lib/sources/graphics/video_player.cpp b/source/shared_lib/sources/graphics/video_player.cpp index dd133a1e9..bbc3de646 100644 --- a/source/shared_lib/sources/graphics/video_player.cpp +++ b/source/shared_lib/sources/graphics/video_player.cpp @@ -1413,18 +1413,18 @@ bool VideoPlayer::playFrame(bool swapBuffers) { } void VideoPlayer::RestartVideo() { - printf("Restart video\n"); + //printf("Restart video\n"); - this->stop = false; - this->finished = false; - ctxPtr->started = true; - ctxPtr->error = false; - ctxPtr->stopped = false; - ctxPtr->end_of_media = false; - ctxPtr->isPlaying = true; - ctxPtr->needToQuit = false; + //this->stop = false; + //this->finished = false; + //ctxPtr->started = true; + //ctxPtr->error = false; + //ctxPtr->stopped = false; + //ctxPtr->end_of_media = false; + //ctxPtr->isPlaying = true; + //ctxPtr->needToQuit = false; - return; + //return; this->closePlayer();