X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_view.h;h=28ca3a1e8c4a7ce6bf3da3aba260dc9db0d98b75;hb=313319ba2d8544bc25524e02e634804a503b54f1;hp=9517a3bf479a2f31b8d9c7fdfbff955fa29e9509;hpb=7f641936b00ec87b6eea2ef0a5daa1b1710cf9f4;p=dcpomatic.git diff --git a/src/wx/video_view.h b/src/wx/video_view.h index 9517a3bf4..28ca3a1e8 100644 --- a/src/wx/video_view.h +++ b/src/wx/video_view.h @@ -33,11 +33,11 @@ #include -class Image; -class wxWindow; class FilmViewer; +class Image; class Player; class PlayerVideo; +class wxWindow; class VideoView : public ExceptionStore, public Signaller @@ -127,6 +127,10 @@ public: _three_d = t; } + void set_optimise_for_j2k (bool o) { + _optimise_for_j2k = o; + } + protected: NextFrameResult get_next_frame (bool non_blocking); boost::optional time_until_next_frame () const; @@ -168,6 +172,8 @@ protected: StateTimer _state_timer; + bool _optimise_for_j2k = false; + private: /** Mutex protecting all the state in this class */ mutable boost::mutex _mutex;