diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-16 14:53:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-16 14:53:35 +0100 |
| commit | 4699463e19b2a153d64aeb0e00c62be1157bfc1b (patch) | |
| tree | 971d505d0b5a8253a24eb95854effb5e34893c8c /src/lib/video_decoder.h | |
| parent | 12074b64d64c1fe76a9cf07a46683b7db96fc56e (diff) | |
Some work on cropping in the film viewer; also prevent player from always scaling up to DCP resolution.
Diffstat (limited to 'src/lib/video_decoder.h')
| -rw-r--r-- | src/lib/video_decoder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h index b47d7fc3a..f0d140d80 100644 --- a/src/lib/video_decoder.h +++ b/src/lib/video_decoder.h @@ -44,6 +44,8 @@ public: /** @return length according to our content's header */ virtual ContentVideoFrame video_length () const = 0; + void set_video_container_size (libdcp::Size); + protected: void video (boost::shared_ptr<Image>, bool, Time); @@ -57,6 +59,7 @@ private: boost::shared_ptr<TimedSubtitle> _timed_subtitle; FrameRateConversion _frame_rate_conversion; bool _odd; + boost::optional<libdcp::Size> _video_container_size; }; #endif |
