projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
785d036
)
Try to fix build.
author
Carl Hetherington
<cth@carlh.net>
Mon, 19 Sep 2016 14:50:57 +0000
(15:50 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 19 Sep 2016 14:50:57 +0000
(15:50 +0100)
src/lib/reel_writer.cc
patch
|
blob
|
history
diff --git
a/src/lib/reel_writer.cc
b/src/lib/reel_writer.cc
index e2827251b2dfec6ac59fedf3d83ccd361beb138e..6432c294bbee29746280a953fd5bce5052bb9dfe 100644
(file)
--- a/
src/lib/reel_writer.cc
+++ b/
src/lib/reel_writer.cc
@@
-132,10
+132,13
@@
ReelWriter::write_frame_info (Frame frame, Eyes eyes, dcp::FrameInfo info) const
boost::filesystem::path info_file = _film->info_file (_period);
bool const read = boost::filesystem::exists (info_file);
+
+#ifdef DCPOMATIC_WINDOWS
LOG_GENERAL (
"Checked %1 (exists %2) length is %3 perms are %4",
info_file, read ? 1 : 0, boost::filesystem::file_size (info_file), int(boost::filesystem::status(info_file).permissions())
);
+#endif
if (read) {
file = fopen_boost (info_file, "r+b");