summaryrefslogtreecommitdiff
path: root/src/lib/job_manager.cc
AgeCommit message (Collapse)Author
2025-10-23Make it possible to not write audio analysis files.Carl Hetherington
2025-04-25White space: job_manager.{cc,h}Carl Hetherington
2025-02-23Add JobManager::cancel_all_jobs().Carl Hetherington
2025-02-23Allow verification of multiple DCPs in one go (#2843).Carl Hetherington
2023-03-16Allow re-start of cancelled subtitle analysis jobs.Carl Hetherington
2023-03-16Emit the state of the job with the Finished signals.Carl Hetherington
2022-12-25Make pause/resume work properly in the batch converter.Carl Hetherington
2022-12-25Cleanup: rename _empty_condition -> _schedule_conditionCarl Hetherington
2022-12-25Cleanup: remove unnecessary variable.Carl Hetherington
2022-12-24Cleanup: simplify some code.Carl Hetherington
2022-12-10Extract constants.hCarl Hetherington
2021-11-28Simplify and fix job scheduler, especially with respect to the priority system.Carl Hetherington
2021-05-01C++11 tidying.Carl Hetherington
2021-04-21Add some possibly-useful markers for debugging threads from coredumps.Carl Hetherington
2021-02-16C++11 tidying.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-08-14Fix refusal to start another audio analysis job after cancelling one.v2.15.98Carl Hetherington
2020-07-29Fix bugs in thread termination causing occasional pthreadCarl Hetherington
assertion failures. Before this, it was possible for J2KEncoder::terminate_threads() to finish without terminating all threads if the thread _running_ terminate_threads() was itself interrupt()ed. This is because the thread_group::join_all() in terminate_threads() is an interruption point, so it was possible it not to complete but instead to throw interrupted_exception. Then the owning J2KEncoder would be torn down but the threads would still be running, causing use-after-frees. This commit adds some boost::this_thread::disable_interruption objects to ensure that the owning thread is not interrupted while it is being destroyed. Also tidy up code that does this stuff, assuming that it's safe to not call thread::joinable but instead do thread.interrupt(); try { thread.join(); } catch (...) {}
2020-04-24Add subtitle analysis so that the outline of all subtitlesCarl Hetherington
in a piece of content can be overlaid onto the preview (#1233).
2020-01-30Various thread cleanups.Carl Hetherington
2019-01-08Make sure audio analysis is re-run even if there's an existing job for the ↵Carl Hetherington
same playlist (but with different settings) (fixed #1257).
2018-11-27Fix active job signalling.Carl Hetherington
2018-11-23Use a foreach.Carl Hetherington
2018-11-23Another missing condition notify.Carl Hetherington
2018-11-23Fix missing condition wake.Carl Hetherington
2018-11-22Speed up content discovery:Carl Hetherington
1. add all discovery jobs immediately rather than waiting for each one to finish (by polling) before starting the next. 2. replace polling with a condition in JobManager.
2018-08-16Add pause/resume to the batch converter (#1248).Carl Hetherington
Add some missing locking to JobManager::decrease_priority.
2018-05-29Fix job ordering when sending notification emails (more of #1286).Carl Hetherington
2018-02-16Name threads on Linux.Carl Hetherington
2018-02-10Fix odd behaviour when analysing single bits of audio which start at ↵Carl Hetherington
non-zero positions (#1203).
2017-01-28Add priority control buttons to batch converter (#961).Carl Hetherington
2016-07-03Remove several exception-throwing asserts from destructors.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2015-09-24assert (joinable) before joining threads.Carl Hetherington
2015-09-15Fix failure to display audio analysis in some cases.Carl Hetherington
Before we were checking existing AnalyseAudioJobs by their audio analysis path, which may change after they have been run since they use up-to-date info such as the Film's processor. e.g. Run audio analysis for content. Enable processor. Re-run analysis for film; now before it would think that the existing job has done the *new* analysis because its path would be the same as the one we now want.
2015-09-14Peak value of audio into the audio tab.Carl Hetherington
2015-09-14Add option to analyse audio automatically when content is added (#673).Carl Hetherington
2015-09-01Don't start thread in constructor. (JobManager)Carl Hetherington
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-05-13Rename UISignaller -> SignalManager.Carl Hetherington
2015-05-13Fix crashes on x-thread signal emission.Carl Hetherington
Fix crashes on x-thread signal emission if the emitting object is destroyed between the storage of the message on the queue and the emission of the object in the UI thread.
2014-07-01while (1) -> while (true)Carl Hetherington
2013-11-09Try to fix crash on drop()ping JobManager. More debugging when resampler fails.Carl Hetherington
2013-11-09Drop JobManager on cli-exit for valgrind; use avcodec_free_frame rather than ↵Carl Hetherington
av_free.
2013-08-29Try again to fix ui signalling during tests.Carl Hetherington
2013-07-20Remove polling from JobManagerView and use signals instead (fixes #137).Carl Hetherington
2013-07-16Small bits of tidying up.Carl Hetherington
2013-04-13DVD-o-matic -> DCP-o-matic.Carl Hetherington
2013-02-16Remove now-unused job dependencies.Carl Hetherington