diff options
author | Sven Hesse | 2011-01-22 12:26:31 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-22 12:26:31 +0000 |
commit | 7c14cf2b1bddaf4ec9403f49a1fc09ec750ee6c6 (patch) | |
tree | 3f5c1e5e76318a13b451d31471a2d7e0349e15b1 /engines/gob/videoplayer.cpp | |
parent | 477ae820fbccfe767b8d747d3441c45729f3aa94 (diff) | |
download | scummvm-rg350-7c14cf2b1bddaf4ec9403f49a1fc09ec750ee6c6.tar.gz scummvm-rg350-7c14cf2b1bddaf4ec9403f49a1fc09ec750ee6c6.tar.bz2 scummvm-rg350-7c14cf2b1bddaf4ec9403f49a1fc09ec750ee6c6.zip |
GOB: Fix some of the live-video glitchyness
svn-id: r55421
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r-- | engines/gob/videoplayer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index f1876f5294..c0e450c9a2 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -299,6 +299,11 @@ void VideoPlayer::waitEndFrame(int slot, bool onlySound) { } } +bool VideoPlayer::isPlayingLive() const { + const Video *video = getVideoBySlot(0); + return video && video->live; +} + void VideoPlayer::updateLive(bool force) { Video *video = getVideoBySlot(0); if (!video || !video->live) |