Throw errors from CPLSummary constructor if the DCP::read reported any problems.
[dcpomatic.git] / src / lib / ffmpeg_file_encoder.h
index d763c7eaf7c05a02fd0cc58b4b5598e7a4bf8785..57f9135fa5e88e0a272ca8e601663374caebfd87 100644 (file)
@@ -84,12 +84,15 @@ private:
        int _video_frame_rate;
        int _audio_frame_rate;
 
+       int64_t _audio_frames;
+
        boost::shared_ptr<AudioBuffers> _pending_audio;
 
        /** Store of shared_ptr<Image> to keep them alive whilst raw pointers into
            their data have been passed to FFmpeg.
        */
        std::map<uint8_t*, boost::shared_ptr<const Image> > _pending_images;
+       boost::mutex _pending_images_mutex;
 
        static int _video_stream_index;
        static int _audio_stream_index;