When the player is used in OpenGL mode, pass unscaled XYZ data through to the shader...
[dcpomatic.git] / src / tools / dcpomatic_player.cc
index 23aabadd83317c55ccdd41d73a3b3dd2417dec47..e409b97311be1fa5c78a5952d6d5a20c51a2102b 100644 (file)
@@ -197,6 +197,7 @@ public:
                        _controls = new StandardControls (_overall_panel, _viewer, false);
                }
                _viewer->set_dcp_decode_reduction (Config::instance()->decode_reduction ());
+               _viewer->set_optimise_for_j2k (true);
                _viewer->PlaybackPermitted.connect (bind(&DOMFrame::playback_permitted, this));
                _viewer->Started.connect (bind(&DOMFrame::playback_started, this, _1));
                _viewer->Stopped.connect (bind(&DOMFrame::playback_stopped, this, _1));