Rename MD5Digester -> Digester.
[dcpomatic.git] / src / lib / film.cc
index 6b3625d9e727d34faec4effa67da7304aa1d832f..db8da56b49e3ec748f54caf8ee49dd8ebc5269b3 100644 (file)
@@ -42,7 +42,7 @@
 #include "environment_info.h"
 #include "raw_convert.h"
 #include "audio_processor.h"
-#include "md5_digester.h"
+#include "digester.h"
 #include "compose.hpp"
 #include "screen.h"
 #include "audio_content.h"
@@ -108,8 +108,11 @@ using boost::is_any_of;
  *
  * 32 -> 33
  * Changed <Period> to <Subtitle> in FFmpegSubtitleStream
+ * 33 -> 34
+ * Content only contains audio/subtitle-related tags if those things
+ * are present.
  */
-int const Film::current_state_version = 33;
+int const Film::current_state_version = 34;
 
 /** Construct a Film object in a given directory.
  *
@@ -244,7 +247,7 @@ Film::audio_analysis_path (shared_ptr<const Playlist> playlist) const
 {
        boost::filesystem::path p = dir ("analysis");
 
-       MD5Digester digester;
+       Digester digester;
        BOOST_FOREACH (shared_ptr<Content> i, playlist->content ()) {
                if (!i->audio) {
                        continue;