Another missing condition notify.
authorCarl Hetherington <cth@carlh.net>
Fri, 23 Nov 2018 22:52:40 +0000 (22:52 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 23 Nov 2018 22:52:40 +0000 (22:52 +0000)
src/lib/job_manager.cc

index 5fcb7086cf4bf586170ed2a74e8b2cff4f1213e7..3a4d76bceda93249f62fcba7fde9bc5a2ba28043 100644 (file)
@@ -250,6 +250,7 @@ JobManager::analyse_audio (
                job.reset (new AnalyseAudioJob (film, playlist, from_zero));
                connection = job->Finished.connect (ready);
                _jobs.push_back (job);
+               _empty_condition.notify_all ();
        }
 
        emit (boost::bind (boost::ref (JobAdded), weak_ptr<Job> (job)));