From 6d1232abc853ea3771c35da6d3ff091b66baa1f2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 14 Feb 2026 18:39:23 +0100 Subject: FIXME: fix bugs. --- src/lib/player.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/player.cc') diff --git a/src/lib/player.cc b/src/lib/player.cc index f74b828fa..bd01818f0 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -763,10 +763,10 @@ Player::pass() earliest_content->done = earliest_content->decoder->pass(); auto dcp = dynamic_pointer_cast(earliest_content->content); if (dcp && !_play_reusable) { - if (dcp->can_reuse_video(film)) { + if (dcp->reference_video() || dcp->can_reuse_video(film, ReuseType::COPY)) { _next_video_time = dcp->end(film); } - if (dcp->can_reuse_audio(film)) { + if (dcp->reference_audio() || dcp->can_reuse_audio(film, ReuseType::COPY)) { /* We are skipping some referenced DCP audio content, so we need to update _next_audio_time to `hide' the fact that no audio was emitted during the referenced DCP (though we need to behave as though it was). -- cgit v1.2.3