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/wx | |
| parent | a680098a14cf40172370fde12c86691b82a36051 (diff) | |
FIXME: fix bugs.448-re-use
Diffstat (limited to 'src/wx')
| -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); |
