Fix tests.
[dcpomatic.git] / src / lib / video_decoder.h
index 5073efead72835ba87edcb3857bfd6d31805ca20..f0d140d803149b314202d462797f7360f4dfa00c 100644 (file)
@@ -31,6 +31,10 @@ class VideoDecoder : public VideoSource, public virtual Decoder
 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 */
@@ -40,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);
@@ -53,6 +59,7 @@ private:
        boost::shared_ptr<TimedSubtitle> _timed_subtitle;
        FrameRateConversion _frame_rate_conversion;
        bool _odd;
+       boost::optional<libdcp::Size> _video_container_size;
 };
 
 #endif