Disable video range control for DCP content (#1821).
[dcpomatic.git] / src / wx / video_panel.cc
index 7a892bb742571e343e0f9cedbad5e55b063a0596..e7d02fe30378494e548a6c72ca83008614d84e31 100644 (file)
@@ -56,6 +56,9 @@ using boost::dynamic_pointer_cast;
 using boost::bind;
 using boost::optional;
 using namespace dcpomatic;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 
 VideoPanel::VideoPanel (ContentPanel* p)
@@ -628,7 +631,7 @@ VideoPanel::setup_sensitivity ()
                _scale_custom_edit->Enable (_scale_custom->GetValue());
                _description->Enable (true);
                _colour_conversion->Enable (!video_sel.empty());
-               _range->Enable (single && !video_sel.empty());
+               _range->Enable (single && !video_sel.empty() && !dcp);
        }
 
        ContentList vc = _parent->selected_video ();