aboutsummaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/video_decoder.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/video_decoder.cpp b/video/video_decoder.cpp
index c1d194a18f..110afa7755 100644
--- a/video/video_decoder.cpp
+++ b/video/video_decoder.cpp
@@ -359,6 +359,10 @@ void VideoDecoder::stop() {
// Also reset the pause state.
_pauseLevel = 0;
+
+ // Reset the pause state of the tracks too
+ for (TrackList::iterator it = _tracks.begin(); it != _tracks.end(); it++)
+ (*it)->pause(false);
}
Audio::Timestamp VideoDecoder::getDuration() const {