diff options
author | Max Horn | 2011-02-09 00:12:58 +0000 |
---|---|---|
committer | Max Horn | 2011-02-09 00:12:58 +0000 |
commit | 805a5b2996ea331b4503b40e70ff85609a0f0883 (patch) | |
tree | cdca8dbb916f9b5286f09b829217263660d4df77 /engines/sword25/fmv | |
parent | 633b8ed27784814e264edd943797e0c6d44366db (diff) | |
download | scummvm-rg350-805a5b2996ea331b4503b40e70ff85609a0f0883.tar.gz scummvm-rg350-805a5b2996ea331b4503b40e70ff85609a0f0883.tar.bz2 scummvm-rg350-805a5b2996ea331b4503b40e70ff85609a0f0883.zip |
VIDEO: In overloaded methods, invoke correct parent implementation
This should not cause any code behavior changes at this time, but if any
of the intermediate VideoDecoder classes ever starts to overload stuff,
this would become important.
svn-id: r55841
Diffstat (limited to 'engines/sword25/fmv')
-rw-r--r-- | engines/sword25/fmv/theora_decoder.cpp | 4 | ||||
-rw-r--r-- | engines/sword25/fmv/theora_decoder.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/fmv/theora_decoder.cpp b/engines/sword25/fmv/theora_decoder.cpp index b1747fd71a..b72542f95a 100644 --- a/engines/sword25/fmv/theora_decoder.cpp +++ b/engines/sword25/fmv/theora_decoder.cpp @@ -456,7 +456,7 @@ const Graphics::Surface *TheoraDecoder::decodeNextFrame() { } void TheoraDecoder::reset() { - VideoDecoder::reset(); + FixedRateVideoDecoder::reset(); if (_fileStream) _fileStream->seek(0); @@ -488,7 +488,7 @@ uint32 TheoraDecoder::getElapsedTime() const { if (_audStream && _mixer) return _mixer->getSoundElapsedTime(*_audHandle); - return VideoDecoder::getElapsedTime(); + return FixedRateVideoDecoder::getElapsedTime(); } Audio::QueuingAudioStream *TheoraDecoder::createAudioStream() { diff --git a/engines/sword25/fmv/theora_decoder.h b/engines/sword25/fmv/theora_decoder.h index e89c394946..5e2675b629 100644 --- a/engines/sword25/fmv/theora_decoder.h +++ b/engines/sword25/fmv/theora_decoder.h @@ -75,7 +75,7 @@ public: return _fileStream != 0; } bool isPaused() const { - return (VideoDecoder::isPaused() || !isVideoLoaded()); + return (FixedRateVideoDecoder::isPaused() || !isVideoLoaded()); } uint16 getWidth() const { |