aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support')
-rw-r--r--engines/titanic/support/avi_surface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/titanic/support/avi_surface.h b/engines/titanic/support/avi_surface.h
index b4e6d420cb..e4599da03a 100644
--- a/engines/titanic/support/avi_surface.h
+++ b/engines/titanic/support/avi_surface.h
@@ -132,7 +132,9 @@ public:
/**
* Return true if a video is currently playing
*/
- virtual bool isPlaying() const { return _decoder->isPlaying(); }
+ virtual bool isPlaying() const {
+ return _decoder->isPlaying() && !_decoder->endOfVideo();
+ }
/**
* Handle any movie events relevent for the frame