X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsimple_video_view.h;h=e19068979b5ef2c4724f6aa2ddec848cf1393a0f;hb=5ee919f413a6c1048aecf83676d42ab3fd94e06e;hp=26d1299b1d84fda12c4acad8b7c4a545820227ee;hpb=4f4561c4b5bb1e8a2fa8e673606d18ffa25aec6c;p=dcpomatic.git diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h index 26d1299b1..e19068979 100644 --- a/src/wx/simple_video_view.h +++ b/src/wx/simple_video_view.h @@ -18,15 +18,21 @@ */ + #include "video_view.h" +#include "lib/filter.h" #include "lib/position.h" -#include "lib/warnings.h" +#include "lib/video_filter_graph_set.h" #include -DCPOMATIC_DISABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS + class FilmViewer; +class Filter; + class SimpleVideoView : public VideoView { @@ -42,10 +48,6 @@ public: NextFrameResult display_next_frame (bool non_blocking) override; private: - void set_image (std::shared_ptr image) { - _image = image; - } - void refresh_panel (); void paint (); void timer (); @@ -55,4 +57,7 @@ private: wxTimer _timer; Position _inter_position; dcp::Size _inter_size; + + Filter _rec2020_filter; + VideoFilterGraphSet _rec2020_filter_graph; };