- VideoDecoder (boost::shared_ptr<const Film>);
-
- /** @return video frame rate second, or 0 if unknown */
- virtual float video_frame_rate () const = 0;
- /** @return native size in pixels */
- virtual libdcp::Size native_size () const = 0;
- /** @return length according to our content's header */
- virtual ContentVideoFrame video_length () const = 0;
-
- virtual int time_base_numerator () const = 0;
- virtual int time_base_denominator () const = 0;
- virtual int sample_aspect_ratio_numerator () const = 0;
- virtual int sample_aspect_ratio_denominator () const = 0;
-
- void set_progress (Job *) const;
-
- int video_frame () const {
- return _video_frame;
- }
+ VideoDecoder (Decoder* parent, std::shared_ptr<const Content> c);
+
+ friend struct video_decoder_fill_test1;
+ friend struct video_decoder_fill_test2;
+ friend struct ffmpeg_pts_offset_test;
+ friend void ffmpeg_decoder_sequential_test_one (boost::filesystem::path file, float fps, int gaps, int video_length);