summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-06-22 09:48:49 +0200
committerCarl Hetherington <cth@carlh.net>2022-06-22 09:48:49 +0200
commitb64ede9abbd40f1fa3ef909075cb4b324a9ab655 (patch)
tree1d59424bac5b8ef4fb49f171120d3c14dfb0ece6 /src/tools
parent8dc70c1dab97a336fdb82da75f368ea0a8e679e3 (diff)
Check content in the batch converter as well as in the main DoM.batch-font-id-error
Otherwise the code to fix up subtitle IDs never runs and you can get errors like in #2271 (but in the batch converter).
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_batch.cc2
1 files changed, 2 insertions, 0 deletions
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<CheckContentJob>(film));
make_dcp (film, TranscodeJob::ChangedBehaviour::STOP);
} catch (std::exception& e) {
auto p = std_to_wx (path.string ());