diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_create.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc index 0582f5cac..0a7a48a73 100644 --- a/src/tools/dcpomatic_create.cc +++ b/src/tools/dcpomatic_create.cc @@ -98,7 +98,7 @@ main (int argc, char* argv[]) Ratio const * content_ratio = 0; int still_length = 10; dcp::Standard standard = dcp::SMPTE; - boost::filesystem::path output; + optional<boost::filesystem::path> output; bool sign = true; bool use_isdcf_name = true; @@ -263,7 +263,7 @@ main (int argc, char* argv[]) exit (EXIT_FAILURE); } - if (!output.empty ()) { + if (output) { film->write_metadata (); } else { film->metadata()->write_to_stream_formatted (cout, "UTF-8"); |
