From b64ede9abbd40f1fa3ef909075cb4b324a9ab655 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 22 Jun 2022 09:48:49 +0200 Subject: [PATCH] Check content in the batch converter as well as in the main DoM. Otherwise the code to fix up subtitle IDs never runs and you can get errors like in #2271 (but in the batch converter). --- src/tools/dcpomatic_batch.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc index 79f1b39fa..7280129a9 100644 --- a/src/tools/dcpomatic_batch.cc +++ b/src/tools/dcpomatic_batch.cc @@ -26,6 +26,7 @@ #include "wx/servers_list_dialog.h" #include "wx/wx_signal_manager.h" #include "wx/wx_util.h" +#include "lib/check_content_job.h" #include "lib/compose.hpp" #include "lib/config.h" #include "lib/dcpomatic_socket.h" @@ -215,6 +216,7 @@ public: } } + JobManager::instance()->add(make_shared(film)); make_dcp (film, TranscodeJob::ChangedBehaviour::STOP); } catch (std::exception& e) { auto p = std_to_wx (path.string ()); -- 2.30.2