diff options
author | Matthew Hoops | 2012-09-23 21:04:20 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-09-23 21:04:40 -0400 |
commit | 64e1483102af4ff291b3ed14f37bff9a7a830060 (patch) | |
tree | 1586a71ec2a0e94358842be5a74941369a6a62f4 | |
parent | f437e1df32c1edfb1bf6a9770d4a2e2a38172e64 (diff) | |
download | scummvm-rg350-64e1483102af4ff291b3ed14f37bff9a7a830060.tar.gz scummvm-rg350-64e1483102af4ff291b3ed14f37bff9a7a830060.tar.bz2 scummvm-rg350-64e1483102af4ff291b3ed14f37bff9a7a830060.zip |
VIDEO: Make sure track pause status is reset upon stop too
-rw-r--r-- | video/video_decoder.cpp | 4 |
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 { |