Don't try to make decoders when there is no content.
[dcpomatic.git] / src / lib / ffmpeg_decoder.h
index 51b88a24a9b8c916eea670e97616a181c376292f..17308eb56188e3b0e193d1028dedf1f61ee0a4de 100644 (file)
@@ -86,11 +86,11 @@ private:
 class FFmpegDecoder : public VideoDecoder, public AudioDecoder
 {
 public:
-       FFmpegDecoder (boost::shared_ptr<Film>, DecodeOptions, Job *);
+       FFmpegDecoder (boost::shared_ptr<Film>, DecodeOptions);
        ~FFmpegDecoder ();
 
        float frames_per_second () const;
-       Size native_size () const;
+       libdcp::Size native_size () const;
        SourceFrame length () const;
        int time_base_numerator () const;
        int time_base_denominator () const;