summaryrefslogtreecommitdiff
path: root/src/lib/reel_writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-09-29 23:28:57 +0200
committerCarl Hetherington <cth@carlh.net>2019-09-29 23:28:57 +0200
commitab0e8cdcafdcb83096012380f674b8280474e851 (patch)
treeb89df2d9abcbf15e1a113db8ea3024aadc41edaa /src/lib/reel_writer.h
parent9a6d5d07edef459e6e7ac1708f32c34981d6cd05 (diff)
Improve OpenFileError so that it doesn't say "opening for read"v2.15.20
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h
index fff2e0b9e..b96bcfc68 100644
--- a/src/lib/reel_writer.h
+++ b/src/lib/reel_writer.h
@@ -33,6 +33,7 @@ namespace dcpomatic {
class Film;
class Job;
class AudioBuffers;
+struct write_frame_info_test;
namespace dcp {
class MonoPictureAsset;
@@ -92,6 +93,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 ();