From: Carl Hetherington Date: Tue, 4 Jun 2013 10:46:17 +0000 (+0100) Subject: Pass on exceptions from AB transcode job. X-Git-Tag: v2.0.48~1337^2~326^2~10 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=bc2c36dc6336d194178c06c03eaae776a697604b;p=dcpomatic.git Pass on exceptions from AB transcode job. --- diff --git a/src/lib/ab_transcode_job.cc b/src/lib/ab_transcode_job.cc index 4ffdd9af6..7ef682a48 100644 --- a/src/lib/ab_transcode_job.cc +++ b/src/lib/ab_transcode_job.cc @@ -61,7 +61,8 @@ ABTranscodeJob::run () } catch (std::exception& e) { + set_progress (1); set_state (FINISHED_ERROR); - + throw; } }