projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc2c36d
)
Some more logging in A/B transcoder.
author
Carl Hetherington
<cth@carlh.net>
Tue, 4 Jun 2013 14:02:11 +0000
(15:02 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 4 Jun 2013 14:02:11 +0000
(15:02 +0100)
src/lib/ab_transcode_job.cc
patch
|
blob
|
history
diff --git
a/src/lib/ab_transcode_job.cc
b/src/lib/ab_transcode_job.cc
index 7ef682a48b9a4df1c0c979b3c106a29198e3b2bd..a204677db34910be180bfd9a94fa22bd20857ab5 100644
(file)
--- a/
src/lib/ab_transcode_job.cc
+++ b/
src/lib/ab_transcode_job.cc
@@
-25,6
+25,7
@@
#include "ab_transcoder.h"
#include "config.h"
#include "encoder.h"
+#include "log.h"
#include "i18n.h"
@@
-59,10
+60,13
@@
ABTranscodeJob::run ()
set_progress (1);
set_state (FINISHED_OK);
+ _film->log()->log ("A/B transcode job completed successfully");
+
} catch (std::exception& e) {
set_progress (1);
set_state (FINISHED_ERROR);
+ _film->log()->log (String::compose ("A/B transcode job failed (%1)", e.what()));
throw;
}
}