diff options
-rw-r--r-- | video/qt_decoder.cpp | 2 | ||||
-rw-r--r-- | video/qt_decoder.h | 2 | ||||
-rw-r--r-- | video/video_decoder.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp index 5c841b30fb..585f5927a1 100644 --- a/video/qt_decoder.cpp +++ b/video/qt_decoder.cpp @@ -406,7 +406,7 @@ void QuickTimeDecoder::freeAllTrackHandlers() { _handlers.clear(); } -void QuickTimeDecoder::seekToTime(Audio::Timestamp time) { +void QuickTimeDecoder::seekToTime(const Audio::Timestamp &time) { stopAudio(); _audioStartOffset = time; diff --git a/video/qt_decoder.h b/video/qt_decoder.h index 7f2d32e515..1f614df18b 100644 --- a/video/qt_decoder.h +++ b/video/qt_decoder.h @@ -112,7 +112,7 @@ public: // SeekableVideoDecoder API void seekToFrame(uint32 frame); - void seekToTime(Audio::Timestamp time); + void seekToTime(const Audio::Timestamp &time); uint32 getDuration() const { return _duration * 1000 / _timeScale; } protected: diff --git a/video/video_decoder.h b/video/video_decoder.h index 73134307a4..2b99a2b1bf 100644 --- a/video/video_decoder.h +++ b/video/video_decoder.h @@ -253,7 +253,7 @@ public: /** * Seek to the specified time. */ - virtual void seekToTime(Audio::Timestamp time) = 0; + virtual void seekToTime(const Audio::Timestamp &time) = 0; /** * Seek to the specified time (in ms). |