From 490558a8fc5fdc567f7f586c0421ad89101a9a2c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 9 May 2014 22:30:49 +0100 Subject: Re-introduce ffprobe call when adding content. --- src/lib/film.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib') diff --git a/src/lib/film.cc b/src/lib/film.cc index 8bececf4f..7b72126f9 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -827,6 +827,10 @@ Film::content () const void Film::examine_and_add_content (shared_ptr c) { + if (dynamic_pointer_cast (c)) { + run_ffprobe (c->path(0), file ("ffprobe.log"), _log); + } + shared_ptr j (new ExamineContentJob (shared_from_this(), c)); j->Finished.connect (bind (&Film::maybe_add_content, this, boost::weak_ptr (j), boost::weak_ptr (c))); JobManager::instance()->add (j); -- cgit v1.2.3