mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 03:47:32 +00:00
GOB: Don't temper with the break key for live videos
svn-id: r55355
This commit is contained in:
parent
adf8820aee
commit
715560edb9
@ -231,9 +231,6 @@ bool VideoPlayer::play(int slot, Properties &properties) {
|
||||
|
||||
bool primary = slot == 0;
|
||||
|
||||
// NOTE: For testing (and comfort?) purposes, we enable aborting of all videos)
|
||||
properties.breakKey = kShortKeyEscape;
|
||||
|
||||
if (properties.startFrame < 0)
|
||||
properties.startFrame = video->decoder->getCurFrame() + 1;
|
||||
if (properties.lastFrame < 0)
|
||||
@ -266,6 +263,9 @@ bool VideoPlayer::play(int slot, Properties &properties) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// NOTE: For testing (and comfort?) purposes, we enable aborting of all videos)
|
||||
properties.breakKey = kShortKeyEscape;
|
||||
|
||||
while ((properties.startFrame != properties.lastFrame) &&
|
||||
(properties.startFrame < (int32)(video->decoder->getFrameCount() - 1))) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user