Display decode resolution in the player.
[dcpomatic.git] / src / wx / film_viewer.cc
index 0bb582c66dffe8d6b46ca649eee103f20c53dc5d..7ada3b01ad708439cc9728d40a089cd57e6ac1ae 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -819,6 +819,12 @@ FilmViewer::set_dcp_decode_reduction (optional<int> reduction)
        }
 }
 
+optional<int>
+FilmViewer::dcp_decode_reduction () const
+{
+       return _dcp_decode_reduction;
+}
+
 DCPTime
 FilmViewer::one_video_frame () const
 {