From 64e1483102af4ff291b3ed14f37bff9a7a830060 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 23 Sep 2012 21:04:20 -0400 Subject: VIDEO: Make sure track pause status is reset upon stop too --- video/video_decoder.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video') 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 { -- cgit v1.2.3