Offer all KDM types no matter what standard is in use.
authorCarl Hetherington <cth@carlh.net>
Sat, 12 Jun 2021 19:04:52 +0000 (21:04 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 12 Jun 2021 19:04:52 +0000 (21:04 +0200)
A user reports that on a Barco system they needed to use a
"DCI Specific" KDM with an Interop DCP.

src/tools/dcpomatic_kdm.cc
src/wx/kdm_dialog.cc
src/wx/kdm_output_panel.cc
src/wx/kdm_output_panel.h

index 965ba7a0f781295119a726bbaa9d9524aa3d2eec..4d84f2f339e02af8dc9312e7bc4e60bc96616541 100644 (file)
@@ -180,8 +180,7 @@ public:
                h = new StaticText (overall_panel, _("Output"));
                h->SetFont (subheading_font);
                right->Add (h, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP * 2);
-               /* XXX: hard-coded non-interop here */
-               _output = new KDMOutputPanel (overall_panel, false);
+               _output = new KDMOutputPanel (overall_panel);
                right->Add (_output, 0, wxALL, DCPOMATIC_SIZER_Y_GAP);
 
                _create = new Button (overall_panel, _("Create KDMs"));
index c44321ac55c0a931b21b633e6a5894adc9b1f19f..9b6b0927c089bb32ab6b38e97d11a3db236692dc 100644 (file)
@@ -108,7 +108,7 @@ KDMDialog::KDMDialog (wxWindow* parent, shared_ptr<const Film> film)
        h = new StaticText (this, _("Output"));
        h->SetFont (subheading_font);
        right->Add (h, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP * 2);
-       _output = new KDMOutputPanel (this, film->interop ());
+       _output = new KDMOutputPanel (this);
        right->Add (_output, 0, wxEXPAND | wxTOP, DCPOMATIC_SIZER_GAP);
 
        _make = new Button (this, _("Make KDMs"));
index 0147a0b8a38486df4280f85a1eae2b658ad8bf5c..6aa0d878f668ba4d45ea7a02abaa34d365e435de 100644 (file)
@@ -55,7 +55,7 @@ using namespace boost::placeholders;
 #endif
 
 
-KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop)
+KDMOutputPanel::KDMOutputPanel (wxWindow* parent)
        : wxPanel (parent, wxID_ANY)
        , _forensic_mark_video (true)
        , _forensic_mark_audio (true)
@@ -69,12 +69,10 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop)
        wxBoxSizer* type = new wxBoxSizer (wxHORIZONTAL);
        _type = new wxChoice (this, wxID_ANY);
        _type->Append ("Modified Transitional 1", ((void *) dcp::Formulation::MODIFIED_TRANSITIONAL_1));
+       _type->Append ("DCI Any", ((void *) dcp::Formulation::DCI_ANY));
+       _type->Append ("DCI Specific", ((void *) dcp::Formulation::DCI_SPECIFIC));
        _type->Append ("Multiple Modified Transitional 1", ((void *) dcp::Formulation::MULTIPLE_MODIFIED_TRANSITIONAL_1));
        _type->Append ("Modified Transitional 1 (without AuthorizedDeviceInfo)", ((void *) dcp::Formulation::MODIFIED_TRANSITIONAL_TEST));
-       if (!interop) {
-               _type->Append ("DCI Any", ((void *) dcp::Formulation::DCI_ANY));
-               _type->Append ("DCI Specific", ((void *) dcp::Formulation::DCI_SPECIFIC));
-       }
        type->Add (_type, 1, wxTOP, DCPOMATIC_CHOICE_TOP_PAD);
        _type->SetSelection (0);
        wxButton* advanced = new Button (this, _("Advanced..."));
index b01913354c9e11befb23c2d840688e544c1bb254..e8515d2c6c3e6ef90e831de73ff2746e357db05b 100644 (file)
@@ -35,7 +35,7 @@ class Log;
 class KDMOutputPanel : public wxPanel
 {
 public:
-       KDMOutputPanel (wxWindow* parent, bool interop);
+       KDMOutputPanel (wxWindow* parent);
 
        void setup_sensitivity ();