aboutsummaryrefslogtreecommitdiff
path: root/video/qt_decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/qt_decoder.cpp')
-rw-r--r--video/qt_decoder.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp
index 324bf65294..49034aad17 100644
--- a/video/qt_decoder.cpp
+++ b/video/qt_decoder.cpp
@@ -447,7 +447,9 @@ const Graphics::Surface *QuickTimeDecoder::VideoTrackHandler::decodeNextFrame()
}
// Update the edit list, if applicable
- if (endOfCurEdit()) {
+ // FIXME: Add support for playing backwards videos with more than one edit
+ // For now, stay on the first edit for reversed playback
+ if (endOfCurEdit() && !_reversed) {
_curEdit++;
if (atLastEdit())