summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/examine_content_job.cc6
-rw-r--r--src/lib/film.cc2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc
index 70a04b825..a783cde33 100644
--- a/src/lib/examine_content_job.cc
+++ b/src/lib/examine_content_job.cc
@@ -59,7 +59,11 @@ ExamineContentJob::name () const
void
ExamineContentJob::run ()
{
- descend (1);
+ descend (0.5);
+ _film->set_content_digest (md5_digest (_film->content_path ()));
+ ascend ();
+
+ descend (0.5);
/* Set the film's length to either
a) a length judged by running through the content or
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 4cfe7de0a..a1c9eb7f0 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -875,8 +875,6 @@ Film::set_content (string c)
signal_changed (CONTENT);
- set_content_digest (md5_digest (content_path ()));
-
examine_content ();
} catch (...) {