diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-14 18:39:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-14 18:39:23 +0100 |
| commit | 6d1232abc853ea3771c35da6d3ff091b66baa1f2 (patch) | |
| tree | 30b9e5275b30f8927a90d3db388d8ea10f0b6b24 /src/lib/player.cc | |
| parent | a680098a14cf40172370fde12c86691b82a36051 (diff) | |
FIXME: fix bugs.448-re-use
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<DCPContent>(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). |
