summaryrefslogtreecommitdiff
path: root/src/lib/moving_image_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-19 15:41:41 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-19 15:41:41 +0100
commit11325f810e214935e4115248223c186a6e4cc184 (patch)
treeb529056e5f0001cccb0621f31a3bed5d4f43e2da /src/lib/moving_image_content.cc
parent6543d9a51b31ce24726187d9d1b018f05f09ef40 (diff)
Some improvements in progress reporting, especially for long jobs.
Diffstat (limited to 'src/lib/moving_image_content.cc')
-rw-r--r--src/lib/moving_image_content.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/moving_image_content.cc b/src/lib/moving_image_content.cc
index a72ad6e8e..14ebfcf25 100644
--- a/src/lib/moving_image_content.cc
+++ b/src/lib/moving_image_content.cc
@@ -81,16 +81,14 @@ MovingImageContent::as_xml (xmlpp::Node* node) const
void
MovingImageContent::examine (shared_ptr<Job> job)
{
- job->descend (0.5);
+ job->sub (_("Computing digest"));
Content::examine (job);
- job->ascend ();
shared_ptr<const Film> film = _film.lock ();
assert (film);
-
- job->descend (0.5);
+
+ job->sub (_("Examining content"));
shared_ptr<MovingImageExaminer> examiner (new MovingImageExaminer (film, shared_from_this(), job));
- job->ascend ();
take_from_video_examiner (examiner);