With multi-threaded decoding we need to be careful to flush
[dcpomatic.git] / src / lib / ffmpeg_examiner.h
index 394e514093e974e6fdc9b04d1c4748f741a7b2d4..41f517724c1d626e631c16b05517b5aa313309cc 100644 (file)
@@ -82,7 +82,7 @@ public:
        }
 
 private:
-       void video_packet (AVCodecContext *, std::string& temporal_reference);
+       bool video_packet (AVCodecContext *, std::string& temporal_reference);
        void audio_packet (AVCodecContext *, std::shared_ptr<FFmpegAudioStream>);
 
        std::string stream_name (AVStream* s) const;