summaryrefslogtreecommitdiff
path: root/src/lib/film.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-08-26 20:45:45 +0100
committerCarl Hetherington <cth@carlh.net>2017-08-26 20:45:45 +0100
commita5f9f8163ecb38a140cf623e141bea1d96866fe5 (patch)
tree6bcc05e9bd7d92d2bf0f6ca655d255ed9059b1f9 /src/lib/film.h
parenta6533bd9d37d217035421977d3f0dec86f7a91a1 (diff)
Stop player analysing audio even if it is configured automatically to happen.
Diffstat (limited to 'src/lib/film.h')
-rw-r--r--src/lib/film.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/film.h b/src/lib/film.h
index ec64c3913..0aa3dab3f 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -293,7 +293,7 @@ public:
void set_directory (boost::filesystem::path);
void set_name (std::string);
void set_use_isdcf_name (bool);
- void examine_and_add_content (boost::shared_ptr<Content>);
+ void examine_and_add_content (boost::shared_ptr<Content> content, bool disable_audio_analysis = false);
void add_content (boost::shared_ptr<Content>);
void remove_content (boost::shared_ptr<Content>);
void remove_content (ContentList);
@@ -336,7 +336,7 @@ private:
void playlist_changed ();
void playlist_order_changed ();
void playlist_content_changed (boost::weak_ptr<Content>, int, bool frequent);
- void maybe_add_content (boost::weak_ptr<Job>, boost::weak_ptr<Content>);
+ void maybe_add_content (boost::weak_ptr<Job>, boost::weak_ptr<Content>, bool disable_audio_analysis);
void audio_analysis_finished ();
static std::string const metadata_file;