summaryrefslogtreecommitdiff
path: root/src/lib/analyse_audio_job.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-11 13:10:48 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-11 22:55:27 +0100
commit527093fa643049d370f4daee8206349981edbf95 (patch)
treef2d8e39174c64a059545c109beadce44369d857b /src/lib/analyse_audio_job.h
parent4d49c6e02b5226147058ca8015acf0ad1f440e9b (diff)
Fix apparently ineffective processors when analysing audio (#2671).
A whole film ("DCP side") analysis would behave the same as a single piece of content analysis if the film only had one piece of content. Here we also clarify that audio analysis of the whole film is different to that for a single piece of content; for the whole film we use processors, and for single pieces of content we do not.
Diffstat (limited to 'src/lib/analyse_audio_job.h')
-rw-r--r--src/lib/analyse_audio_job.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/analyse_audio_job.h b/src/lib/analyse_audio_job.h
index 2b749da6b..afd52c304 100644
--- a/src/lib/analyse_audio_job.h
+++ b/src/lib/analyse_audio_job.h
@@ -50,7 +50,7 @@ class Filter;
class AnalyseAudioJob : public Job
{
public:
- AnalyseAudioJob (std::shared_ptr<const Film>, std::shared_ptr<const Playlist>, bool from_zero);
+ AnalyseAudioJob(std::shared_ptr<const Film>, std::shared_ptr<const Playlist>, bool whole_film);
~AnalyseAudioJob ();
std::string name () const override;
@@ -70,6 +70,7 @@ private:
std::shared_ptr<const Playlist> _playlist;
/** playlist's audio analysis path when the job was created */
boost::filesystem::path _path;
+ bool _whole_film;
static const int _num_points;
};