summaryrefslogtreecommitdiff
path: root/src/wx/simple_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-08 21:32:05 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-18 20:25:57 +0200
commit8293be30989a5fc02e54622b7c9b5c5ff6d7644b (patch)
tree84c698bb114d03fd68b671161e26662c5236c98c /src/wx/simple_video_view.h
parentef32f407557e22662b41f9852f68523952360e4b (diff)
Use a colorspace filter when previewing Rec.2020 content with the simple viewer.
Diffstat (limited to 'src/wx/simple_video_view.h')
-rw-r--r--src/wx/simple_video_view.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h
index 7a48f8ef8..e19068979 100644
--- a/src/wx/simple_video_view.h
+++ b/src/wx/simple_video_view.h
@@ -20,14 +20,18 @@
#include "video_view.h"
+#include "lib/filter.h"
#include "lib/position.h"
+#include "lib/video_filter_graph_set.h"
#include <dcp/types.h>
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
LIBDCP_ENABLE_WARNINGS
+
class FilmViewer;
+class Filter;
class SimpleVideoView : public VideoView
@@ -53,4 +57,7 @@ private:
wxTimer _timer;
Position<int> _inter_position;
dcp::Size _inter_size;
+
+ Filter _rec2020_filter;
+ VideoFilterGraphSet _rec2020_filter_graph;
};