Move 3D-to-2D check (#1941).
authorCarl Hetherington <cth@carlh.net>
Wed, 31 Mar 2021 23:25:27 +0000 (01:25 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 31 Mar 2021 23:25:27 +0000 (01:25 +0200)
commit981ffdc9db4a84c614b3186a0fb27136fe6feb37
tree9027b208a4eaeccd8a2e8ff3af375d49976f7915
parent0a1aa72f11b7d5109caaa5d3ae0068e18dea6b56
Move 3D-to-2D check (#1941).

We were checking for 3D content going into a 2D project in
the DCPEncoder, but we also need to do the same thing when exporting.
Moving the check into Player::emit_video() means that it is
applied to both DCP transcoding and export.
src/lib/dcp_encoder.cc
src/lib/player.cc
test/ffmpeg_encoder_test.cc