X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Freel_writer.h;h=f13f05dde00bd06f19c515248dd9320d47eb12de;hb=0e0696155ba56a2c7d4adde87b70bd2739d334f9;hp=741b0914cc9dc2f028844a71797399a164b0f215;hpb=93e89bd463bd51de6823a6796288f6283f885b06;p=dcpomatic.git diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h index 741b0914c..f13f05dde 100644 --- a/src/lib/reel_writer.h +++ b/src/lib/reel_writer.h @@ -30,6 +30,7 @@ class Film; class Job; class Font; class AudioBuffers; +class InfoFileHandle; struct write_frame_info_test; namespace dcp { @@ -86,7 +87,7 @@ public: return _first_nonexistant_frame; } - dcp::FrameInfo read_frame_info (FILE* file, Frame frame, Eyes eyes) const; + dcp::FrameInfo read_frame_info (boost::shared_ptr info, Frame frame, Eyes eyes) const; private: @@ -95,7 +96,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 (); - bool existing_picture_frame_ok (FILE* asset_file, FILE* info_file, Frame frame) const; + bool existing_picture_frame_ok (FILE* asset_file, boost::shared_ptr info_file, Frame frame) const; boost::shared_ptr _film;