mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 07:07:10 +00:00
Clear any paused OmniTV video, when playing another video. To fix crashes in The Feeble Files, when another video is played between the pause and restart of an OmniTV video.
svn-id: r27737
This commit is contained in:
parent
6d7e938ca0
commit
23426fcea5
@ -130,8 +130,11 @@ void MoviePlayer::play() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_fd) {
|
||||
return;
|
||||
if (_omniTVFile) {
|
||||
// Clear any paused OmniTV video
|
||||
_mixer->stopHandle(_omniTVSound);
|
||||
delete _omniTVFile;
|
||||
_omniTVFile = 0;
|
||||
}
|
||||
|
||||
_leftButtonDown = false;
|
||||
|
Loading…
Reference in New Issue
Block a user