public:
VideoDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const VideoContent>);
+ virtual void seek (Time);
+ virtual void seek_back ();
+ virtual void seek_forward ();
+
/* Calls for VideoContent to find out about itself */
/** @return video frame rate second, or 0 if unknown */
/** @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);
boost::shared_ptr<TimedSubtitle> _timed_subtitle;
FrameRateConversion _frame_rate_conversion;
bool _odd;
+ boost::optional<libdcp::Size> _video_container_size;
};
#endif