diff options
Diffstat (limited to 'src/wx/dcp_referencing_dialog.cc')
| -rw-r--r-- | src/wx/dcp_referencing_dialog.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/dcp_referencing_dialog.cc b/src/wx/dcp_referencing_dialog.cc index 337724092..2e8d97ebe 100644 --- a/src/wx/dcp_referencing_dialog.cc +++ b/src/wx/dcp_referencing_dialog.cc @@ -174,28 +174,28 @@ DCPReferencingDialog::setup() } add_problem(_("Cannot reference this DCP"), why_not); } else { - if (!dcp_content->can_reuse_video(_film, &why_not)) { + if (!dcp_content->can_reuse_video(_film, ReuseType::REFERENCE, &why_not)) { record.check_box[Part::VIDEO]->Enable(false); if (dcp_content->video) { add_problem(_("Cannot reference this DCP's video"), why_not); } } - if (!dcp_content->can_reuse_audio(_film, &why_not)) { + if (!dcp_content->can_reuse_audio(_film, ReuseType::REFERENCE, &why_not)) { record.check_box[Part::AUDIO]->Enable(false); if (dcp_content->audio) { add_problem(_("Cannot reference this DCP's audio"), why_not); } } - if (!dcp_content->can_reuse_text(_film, TextType::OPEN_SUBTITLE, &why_not)) { + if (!dcp_content->can_reuse_text(_film, TextType::OPEN_SUBTITLE, ReuseType::REFERENCE, &why_not)) { record.check_box[Part::SUBTITLES]->Enable(false); if (dcp_content->text_of_original_type(TextType::OPEN_SUBTITLE)) { add_problem(_("Cannot reference this DCP's subtitles"), why_not); } } - if (!dcp_content->can_reuse_text(_film, TextType::CLOSED_CAPTION, &why_not)) { + if (!dcp_content->can_reuse_text(_film, TextType::CLOSED_CAPTION, ReuseType::REFERENCE, &why_not)) { record.check_box[Part::CLOSED_CAPTIONS]->Enable(false); if (dcp_content->text_of_original_type(TextType::CLOSED_CAPTION)) { add_problem(_("Cannot reference this DCP's closed captions"), why_not); |
