diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-09-29 23:28:57 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-10-08 20:16:13 +0200 |
| commit | 93e89bd463bd51de6823a6796288f6283f885b06 (patch) | |
| tree | 9dd40b4023688b5624d2688eb16c23adb92b337e /src/lib/reel_writer.h | |
| parent | 7ba1a973a8d06df646961c11dc34f73bd7141834 (diff) | |
Improve OpenFileError so that it doesn't say "opening for read"
in one case where it should say "opening for read/write".
Also add some unit tests for ReelWriter.
Diffstat (limited to 'src/lib/reel_writer.h')
| -rw-r--r-- | src/lib/reel_writer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h index ae64c3ac7..741b0914c 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; +struct write_frame_info_test; namespace dcp { class MonoPictureAsset; @@ -89,6 +90,8 @@ public: private: + friend struct ::write_frame_info_test; + 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 (); |
