X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Freel_writer.h;fp=src%2Flib%2Freel_writer.h;h=bee76ded3fd65b5fb6cbe7272d98c8ad2a3a7cd4;hb=8a8c977c12fc65f1f50ea05099387e0fc8840e7d;hp=0308c64ecd1b753a4ca484768e73d3e7f5ea63d2;hpb=efe153ab23b54cdbf28c653f2ccb0f25ca6bd015;p=dcpomatic.git diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h index 0308c64ec..bee76ded3 100644 --- a/src/lib/reel_writer.h +++ b/src/lib/reel_writer.h @@ -25,8 +25,9 @@ #include "player_text.h" #include "dcp_text_track.h" #include "weak_film.h" -#include #include +#include +#include namespace dcpomatic { class FontData; @@ -102,7 +103,7 @@ private: void write_frame_info (Frame frame, Eyes eyes, dcp::FrameInfo info) const; long frame_info_position (Frame frame, Eyes eyes) const; Frame check_existing_picture_asset (boost::filesystem::path asset); - bool existing_picture_frame_ok (FILE* asset_file, std::shared_ptr info_file, Frame frame) const; + bool existing_picture_frame_ok (dcp::File& asset_file, std::shared_ptr info_file, Frame frame) const; std::shared_ptr empty_text_asset (TextType type, boost::optional track, bool with_dummy) const; std::shared_ptr create_reel_picture (std::shared_ptr reel, std::list const & refs) const;