aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r--engines/gob/videoplayer.cpp5
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)