From: Carl Hetherington Date: Mon, 25 May 2020 21:54:33 +0000 (+0200) Subject: Don't offer full-frame containers unless 'allow any container' is enabled. X-Git-Tag: v2.15.76~4 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=dce22d59d3e8302eacf97bf6421e3e35daff57bf Don't offer full-frame containers unless 'allow any container' is enabled. --- diff --git a/src/lib/config.cc b/src/lib/config.cc index 18955a896..a138cc879 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -809,7 +809,7 @@ Config::write_config () const root->add_child("MaximumJ2KBandwidth")->add_child_text (raw_convert (_maximum_j2k_bandwidth)); /* [XML] AllowAnyDCPFrameRate 1 to allow users to specify any frame rate when creating DCPs, 0 to limit the GUI to standard rates. */ root->add_child("AllowAnyDCPFrameRate")->add_child_text (_allow_any_dcp_frame_rate ? "1" : "0"); - /* [XML] AllowAnyContainer 1 to allow users to user any container ratio for their DCP, 0 to limit the GUI to standard containers. */ + /* [XML] AllowAnyContainer 1 to allow users to user any container ratio for their DCP, 0 to limit the GUI to DCI Flat/Scope */ root->add_child("AllowAnyContainer")->add_child_text (_allow_any_container ? "1" : "0"); /* [XML] ShowExperimentalAudioProcessors 1 to offer users the (experimental) audio upmixer processors, 0 to hide them */ root->add_child("ShowExperimentalAudioProcessors")->add_child_text (_show_experimental_audio_processors ? "1" : "0"); diff --git a/src/lib/ratio.cc b/src/lib/ratio.cc index 8a86ced59..93ad5755d 100644 --- a/src/lib/ratio.cc +++ b/src/lib/ratio.cc @@ -110,7 +110,6 @@ Ratio::containers () vector r; r.push_back (Ratio::from_id ("185")); r.push_back (Ratio::from_id ("239")); - r.push_back (Ratio::from_id ("190")); return r; } diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index fff0d2035..a371690bd 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -1245,7 +1245,7 @@ private: table->Add (_allow_any_dcp_frame_rate, 1, wxEXPAND | wxALL); table->AddSpacer (0); - _allow_any_container = new CheckBox (_panel, _("Allow non-standard container ratios")); + _allow_any_container = new CheckBox (_panel, _("Allow full-frame and non-standard container ratios")); table->Add (_allow_any_container, 1, wxEXPAND | wxALL); table->AddSpacer (0);