summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-14 10:12:07 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-14 10:12:07 +0100
commit8843d281ba06613fc92711d2ea824c35502be78e (patch)
treeb247f8e25fe54b01b060972a781886796d5e9fa8 /src
parentaefd6c84abe3c6f51da7f533a0414c2a220a5098 (diff)
Fix mistaken use of wrong enum.
Diffstat (limited to 'src')
-rw-r--r--src/lib/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index b0ba41597..ed4519aca 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -374,8 +374,8 @@ Player::get_video (DCPTime time, bool accurate)
shared_ptr<VideoContent> vc = dynamic_pointer_cast<VideoContent> ((*i)->content);
/* Use the second to last if it's the other part of a 3D content pair */
if (
- (first_type == EYES_LEFT && vc->video_frame_type() == EYES_RIGHT) ||
- (first_type == EYES_RIGHT && vc->video_frame_type() == EYES_LEFT)
+ (first_type == VIDEO_FRAME_TYPE_3D_LEFT && vc->video_frame_type() == VIDEO_FRAME_TYPE_3D_RIGHT) ||
+ (first_type == VIDEO_FRAME_TYPE_3D_RIGHT && vc->video_frame_type() == VIDEO_FRAME_TYPE_3D_LEFT)
) {
/* Other part of a pair of 3D content */
ov_to_use.push_back (*i);