summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/player.cc')
-rw-r--r--src/lib/player.cc4
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).