diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-03-05 14:06:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-03-05 14:06:11 +0100 |
| commit | 86515d34200fa2a387e48b117eed9b02cabde30d (patch) | |
| tree | 9701523cfd0b6a6c19823c1ff4306b99a3f073df /src/lib/player.cc | |
| parent | 79f957a6f37276f71cf98d4fa1ae5e0ab3beb76d (diff) | |
Fix error when padding is needed in 3D encodes (#2476).
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 018571fe2..abcefcab5 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -770,7 +770,12 @@ Player::pass () } case BLACK: LOG_DEBUG_PLAYER ("Emit black for gap at %1", to_string(_black.position())); - emit_video (black_player_video_frame(Eyes::BOTH), _black.position()); + if (film->three_d()) { + emit_video(black_player_video_frame(Eyes::LEFT), _black.position()); + emit_video(black_player_video_frame(Eyes::RIGHT), _black.position()); + } else { + emit_video(black_player_video_frame(Eyes::BOTH), _black.position()); + } _black.set_position (_black.position() + one_video_frame()); break; case SILENT: |
