mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Possibly fixes looping videos;
This commit is contained in:
parent
86fde2ba54
commit
b03eb56706
@ -261,7 +261,7 @@ bool CVideoPlayer::nextFrame()
|
||||
if (doLoop && !gotError)
|
||||
{
|
||||
// Rewind
|
||||
if (av_seek_frame(format, stream, 0, 0) < 0)
|
||||
if (av_seek_frame(format, stream, 0, AVSEEK_FLAG_BYTE) < 0)
|
||||
break;
|
||||
gotError = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user