diff options
Diffstat (limited to 'engines/titanic/support/avi_surface.h')
-rw-r--r-- | engines/titanic/support/avi_surface.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/titanic/support/avi_surface.h b/engines/titanic/support/avi_surface.h index 03f8f24cfe..4e9166c0f0 100644 --- a/engines/titanic/support/avi_surface.h +++ b/engines/titanic/support/avi_surface.h @@ -184,6 +184,13 @@ public: } /** + * Sets whether the video is playing (versus paused) + */ + virtual void setPlaying(bool playingFlag) { + _decoder->pauseVideo(!playingFlag); + } + + /** * Handle any movie events relevent for the frame */ virtual bool handleEvents(CMovieEventList &events); |