Fix colour primaries when previewing Rec.2020 content with OpenGL.
[dcpomatic.git] / src / wx / gl_video_view.h
index fd9154a7338d946a8c1b31a619adde843f9f4324..964f6f1ab9db2db8469e1fce8a36bd2d93279fa3 100644 (file)
@@ -134,6 +134,7 @@ private:
        Last<boost::optional<dcpomatic::Rect<float>>> _last_crop_guess;
 
        boost::atomic<wxSize> _canvas_size;
+       boost::atomic<bool> _rec2020;
        std::unique_ptr<Texture> _video_texture;
        std::unique_ptr<Texture> _subtitle_texture;
        bool _have_subtitle_to_render = false;