diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-20 23:48:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-20 23:48:51 +0100 |
| commit | bed373d380d35294b03d228a2ef41cfa8fceb4b0 (patch) | |
| tree | 0814e6039bb4d9e4aa4d12da989d005da5305b6e /src/lib/moving_image_content.cc | |
| parent | 2b1f823c64e400de11799849c4788d4ee774b286 (diff) | |
Support TGA file directories and improve progress reporting when hashing directories of image files.
Diffstat (limited to 'src/lib/moving_image_content.cc')
| -rw-r--r-- | src/lib/moving_image_content.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/moving_image_content.cc b/src/lib/moving_image_content.cc index 63b4b9f24..a72ad6e8e 100644 --- a/src/lib/moving_image_content.cc +++ b/src/lib/moving_image_content.cc @@ -23,6 +23,7 @@ #include "config.h" #include "compose.hpp" #include "film.h" +#include "job.h" #include "i18n.h" @@ -80,12 +81,16 @@ MovingImageContent::as_xml (xmlpp::Node* node) const void MovingImageContent::examine (shared_ptr<Job> job) { + job->descend (0.5); Content::examine (job); + job->ascend (); shared_ptr<const Film> film = _film.lock (); assert (film); + job->descend (0.5); shared_ptr<MovingImageExaminer> examiner (new MovingImageExaminer (film, shared_from_this(), job)); + job->ascend (); take_from_video_examiner (examiner); |
