diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-01 18:04:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-01 18:04:14 +0100 |
| commit | 92b6430402753a572c33d594ba0745a4e461edf4 (patch) | |
| tree | d9bd040ee243cfe0e1730fc2df18d97adc7f2e8e /src/lib/film.cc | |
| parent | c5b9ad09ab5eaf032b0816f619ab5d75254e8597 (diff) | |
Re-add show audio button and analyse just that content when it is clicked.
Diffstat (limited to 'src/lib/film.cc')
| -rw-r--r-- | src/lib/film.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index dbb73303c..5310ef71f 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -228,12 +228,12 @@ Film::internal_video_asset_filename () const } boost::filesystem::path -Film::audio_analysis_path () const +Film::audio_analysis_path (shared_ptr<const Playlist> playlist) const { boost::filesystem::path p = dir ("analysis"); MD5Digester digester; - BOOST_FOREACH (shared_ptr<Content> i, content ()) { + BOOST_FOREACH (shared_ptr<Content> i, playlist->content ()) { shared_ptr<AudioContent> ac = dynamic_pointer_cast<AudioContent> (i); if (!ac) { continue; |
