X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Freel_writer.cc;h=84923c20206a27f84a171b29e1418e29df093681;hb=ff4c557160a1a1c152ee2b3711e10f9082b3ad73;hp=8044973eca29adbf056d9af2c250eca08a9cb5e3;hpb=37a485b143da0d096aa617026cf88d32afb59a34;p=dcpomatic.git diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc index 8044973ec..84923c202 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -211,7 +211,7 @@ ReelWriter::check_existing_picture_asset () try { info_file = _film->info_file_handle (_period, true); - } catch (OpenFileError) { + } catch (OpenFileError &) { LOG_GENERAL_NC ("Could not open film info file"); fclose (asset_file); return 0; @@ -300,7 +300,7 @@ ReelWriter::finish () video_to /= video_asset_filename (_picture_asset, _reel_index, _reel_count, _content_summary); LOG_GENERAL ("Must put %1 into DCP at %2", video_from.string(), video_to.string()); - LOG_GENERAL ("%2: %2", video_from.string(), boost::filesystem::is_regular_file(video_from) ? "yes" : "no"); + LOG_GENERAL ("%1: %2", video_from.string(), boost::filesystem::is_regular_file(video_from) ? "yes" : "no"); LOG_GENERAL ("%1: %2", video_to.string(), boost::filesystem::is_regular_file(video_to) ? "yes" : "no"); boost::system::error_code ec;