projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a25cdee
)
Write metadata on new film to go with the directory that is created.
author
Carl Hetherington
<cth@carlh.net>
Fri, 19 Apr 2013 20:20:00 +0000
(21:20 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 19 Apr 2013 20:20:00 +0000
(21:20 +0100)
src/lib/film.cc
patch
|
blob
|
history
diff --git
a/src/lib/film.cc
b/src/lib/film.cc
index a42b874e856d3470e9d7526bc8d5b6b53a9cd771..227f8557bcb1058ae5cd8a0a7f044e88aad7b150 100644
(file)
--- a/
src/lib/film.cc
+++ b/
src/lib/film.cc
@@
-143,6
+143,8
@@
Film::Film (string d, bool must_exist)
if (must_exist) {
read_metadata ();
+ } else {
+ write_metadata ();
}
_log.reset (new FileLog (file ("log")));