diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-03-05 14:07:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-03-05 16:26:56 +0100 |
| commit | a31cfda11a8e3260cdf267be056cb9b4f4b158dd (patch) | |
| tree | 0fa8069cd0797addb68de1b2f28a0d3ee2632810 /src/lib/writer.cc | |
| parent | 86515d34200fa2a387e48b117eed9b02cabde30d (diff) | |
Remove some 3D stuff I think is unnecessary since the changes in 2f12058c535045cecc226fe47b3d60da8851a862v2.16.46
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index 1c8f1a0cd..2a2925cf0 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -231,17 +231,12 @@ Writer::fake_write (Frame frame, Eyes eyes) qi.size = _reels[reel].read_frame_info(info_file, frame_in_reel, eyes).size; } + DCPOMATIC_ASSERT((film()->three_d() && eyes != Eyes::BOTH) || (!film()->three_d() && eyes == Eyes::BOTH)); + qi.reel = reel; qi.frame = frame_in_reel; - if (film()->three_d() && eyes == Eyes::BOTH) { - qi.eyes = Eyes::LEFT; - _queue.push_back (qi); - qi.eyes = Eyes::RIGHT; - _queue.push_back (qi); - } else { - qi.eyes = eyes; - _queue.push_back (qi); - } + qi.eyes = eyes; + _queue.push_back(qi); /* Now there's something to do: wake anything wait()ing on _empty_condition */ _empty_condition.notify_all (); |
