diff options
Diffstat (limited to 'src/lib/film.cc')
| -rw-r--r-- | src/lib/film.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 267138ce6..33cb30460 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -826,6 +826,10 @@ Film::content () const void Film::examine_and_add_content (shared_ptr<Content> c) { + if (dynamic_pointer_cast<FFmpegContent> (c)) { + run_ffprobe (c->path(0), file ("ffprobe.log"), _log); + } + shared_ptr<Job> j (new ExamineContentJob (shared_from_this(), c)); j->Finished.connect (bind (&Film::maybe_add_content, this, boost::weak_ptr<Job> (j), boost::weak_ptr<Content> (c))); JobManager::instance()->add (j); |
