diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-08-03 17:54:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-08-14 21:07:49 +0100 |
| commit | 0253b4e45c71a1c2e2a8bffaf1c3cb84a0a3e41a (patch) | |
| tree | 85ca9af20c85ca04a221ca9023c0d2980ffeeca7 /src/wx | |
| parent | e952a7b0681d1ad2fc6ebcd0cd7231bf59bbe043 (diff) | |
Basics of forced reduction of JPEG2000 decode resolution.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/film_viewer.cc | 6 | ||||
| -rw-r--r-- | src/wx/film_viewer.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 776926fbe..2b7f73e68 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -786,3 +786,9 @@ FilmViewer::average_latency () const return total / _latency_history.size(); } + +void +FilmViewer::set_dcp_decode_reduction (optional<int> reduction) +{ + _player->set_dcp_decode_reduction (reduction); +} diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index f8658be38..3f7a3be33 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -56,6 +56,7 @@ public: void set_position (DCPTime p); void set_coalesce_player_changes (bool c); + void set_dcp_decode_reduction (boost::optional<int> reduction); void refresh (); |
