summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h
index c467eedc1..5e5bb7916 100644
--- a/src/wx/film_viewer.h
+++ b/src/wx/film_viewer.h
@@ -98,6 +98,7 @@ public:
void set_outline_subtitles (boost::optional<dcpomatic::Rect<double>>);
void set_eyes (Eyes e);
void set_pad_black (bool p);
+ void set_optimise_for_j2k (bool o);
void slow_refresh ();
@@ -187,6 +188,11 @@ private:
boost::optional<int> _dcp_decode_reduction;
+ /** true to assume that this viewer is only being used for JPEG2000 sources
+ * so it can optimise accordingly.
+ */
+ bool _optimise_for_j2k = false;
+
ClosedCaptionsDialog* _closed_captions_dialog = nullptr;
bool _outline_content = false;