diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/examine_content_job.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc index 40665e1e8..cad560908 100644 --- a/src/lib/examine_content_job.cc +++ b/src/lib/examine_content_job.cc @@ -85,8 +85,6 @@ ExamineContentJob::run () shared_ptr<ImageMagickEncoder> e (new ImageMagickEncoder (fs, o, _log)); Transcoder w (fs, o, this, _log, e); w.go (); - set_progress (1); - set_state (FINISHED_OK); } catch (std::exception& e) { @@ -94,6 +92,7 @@ ExamineContentJob::run () set_progress (1); set_error (e.what ()); set_state (FINISHED_ERROR); + return; } |
