Fix missing audio mapping digest in FFmpegContent audio analysis paths.
authorCarl Hetherington <cth@carlh.net>
Wed, 13 May 2015 10:16:14 +0000 (11:16 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 13 May 2015 10:16:14 +0000 (11:16 +0100)
src/lib/ffmpeg_content.cc

index ad9096b92adadcb903312c34669989037c3724c7..496dac8d8186b24d22cc0edc4a24c207086710c6 100644 (file)
@@ -365,12 +365,10 @@ FFmpegContent::audio_analysis_path () const
           analyses for each stream.
        */
 
-       boost::filesystem::path p = film->audio_analysis_dir ();
-       string name = digest();
+       boost::filesystem::path p = AudioContent::audio_analysis_path ();
        if (audio_stream ()) {
-               name += "_" + audio_stream()->identifier ();
+               p += "_" + audio_stream()->identifier ();
        }
-       p /= name;
        return p;
 }