summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/video_decoder.cc')
-rw-r--r--src/lib/video_decoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc
index 9afbd31c4..eb5d2e71f 100644
--- a/src/lib/video_decoder.cc
+++ b/src/lib/video_decoder.cc
@@ -76,6 +76,7 @@ VideoDecoder::emit (shared_ptr<const ImageProxy> image, Frame frame)
}
case VIDEO_FRAME_TYPE_3D_ALTERNATE:
Data (ContentVideo (image, frame / 2, (frame % 2) ? EYES_RIGHT : EYES_LEFT, PART_WHOLE));
+ frame /= 2;
break;
case VIDEO_FRAME_TYPE_3D_LEFT_RIGHT:
Data (ContentVideo (image, frame, EYES_LEFT, PART_LEFT_HALF));