projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cb18d1
)
Don't announce job is finished until things have been torn down; may help with #1674.
author
Carl Hetherington
<cth@carlh.net>
Tue, 19 Nov 2019 23:08:09 +0000
(
00:08
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 19 Nov 2019 23:08:09 +0000
(
00:08
+0100)
src/lib/transcode_job.cc
patch
|
blob
|
history
diff --git
a/src/lib/transcode_job.cc
b/src/lib/transcode_job.cc
index 55b4ef9b69aeadc4e9aaf87e397d9bd50aa10cd8..7fe28d210873abd328b75b212da1154e915731a4 100644
(file)
--- a/
src/lib/transcode_job.cc
+++ b/
src/lib/transcode_job.cc
@@
-88,8
+88,6
@@
TranscodeJob::run ()
DCPOMATIC_ASSERT (_encoder);
_encoder->go ();
- set_progress (1);
- set_state (FINISHED_OK);
struct timeval finish;
gettimeofday (&finish, 0);
@@
-113,6
+111,9
@@
TranscodeJob::run ()
_encoder.reset ();
+ set_progress (1);
+ set_state (FINISHED_OK);
+
} catch (...) {
_encoder.reset ();
throw;