From: Carl Hetherington Date: Tue, 14 Jul 2015 09:12:07 +0000 (+0100) Subject: Fix mistaken use of wrong enum. X-Git-Tag: v2.1.22~20 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=8843d281ba06613fc92711d2ea824c35502be78e;p=dcpomatic.git Fix mistaken use of wrong enum. --- 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 vc = dynamic_pointer_cast ((*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);