projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Basics of forced reduction of JPEG2000 decode resolution.
[dcpomatic.git]
/
src
/
wx
/
film_viewer.cc
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index 776926fbefed8b3682e1e8f0a1e738f1cd1b173c..2b7f73e68328763c85e608617cb8df358269f4a4 100644
(file)
--- 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);
+}