summaryrefslogtreecommitdiff
path: root/src/lib/transcode_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-15 02:19:35 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-15 11:10:47 +0200
commit847daf7ec0f741eb6d50638c2096743ee731634c (patch)
tree8fba9c9571d0579151dcca8876cd22c5062825e6 /src/lib/transcode_job.cc
parent66a6aea50054a5af8624c7d36949c642f4c8b619 (diff)
Change ExamineContentJob to take a vector of content.
Diffstat (limited to 'src/lib/transcode_job.cc')
-rw-r--r--src/lib/transcode_job.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/transcode_job.cc b/src/lib/transcode_job.cc
index 2a408266f..50ae4e6b7 100644
--- a/src/lib/transcode_job.cc
+++ b/src/lib/transcode_job.cc
@@ -100,9 +100,7 @@ TranscodeJob::run ()
if (!changed.empty()) {
switch (_changed) {
case ChangedBehaviour::EXAMINE_THEN_STOP:
- for (auto i: changed) {
- JobManager::instance()->add(make_shared<ExamineContentJob>(_film, i, false));
- }
+ JobManager::instance()->add(make_shared<ExamineContentJob>(_film, changed, false));
set_progress (1);
set_message (_("Some files have been changed since they were added to the project.\n\nThese files will now be re-examined, so you may need to check their settings before trying again."));
set_error (_("Files have changed since they were added to the project."), _("Check their new settings, then try again."));