mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Loop movie
This commit is contained in:
+4
-1
@@ -270,8 +270,9 @@ void VideoImpl::resetMovie()
|
||||
else
|
||||
{
|
||||
// Just reload movie.
|
||||
qDebug() << "Reloading the movie" << endl;
|
||||
qDebug() << "Reloading the movie" << _seekEnabled << endl;
|
||||
_currentMovie = "";
|
||||
loadMovie(_uri);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -458,6 +459,8 @@ bool VideoImpl::_preRun()
|
||||
if (_eos() || _terminate)
|
||||
{
|
||||
_setFinished(true);
|
||||
resetMovie();
|
||||
|
||||
// _FINISH_OUT->type()->setValue(1.0f);
|
||||
// _VIDEO_OUT->sleeping(true);
|
||||
// _AUDIO_OUT->sleeping(true);
|
||||
|
||||
Reference in New Issue
Block a user