diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-17 23:36:02 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-18 20:25:57 +0200 |
| commit | c9a1e2040bf5600aeafdefe56a3bf46e15419a16 (patch) | |
| tree | 54281a554d800b49c149a69fe037035f903498ad /src/wx/gl_video_view.h | |
| parent | 0a3bcd6e5f5243df76b3440dcd6a47092668946b (diff) | |
Fix colour primaries when previewing Rec.2020 content with OpenGL.
Diffstat (limited to 'src/wx/gl_video_view.h')
| -rw-r--r-- | src/wx/gl_video_view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index fd9154a73..964f6f1ab 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -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; |
