projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab024ff
)
Remove possibility of confusing blank error messages in TranscodeJobs when the transc...
author
Carl Hetherington
<cth@carlh.net>
Thu, 10 Apr 2014 12:52:26 +0000
(13:52 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 10 Apr 2014 12:52:26 +0000
(13:52 +0100)
src/lib/transcode_job.cc
patch
|
blob
|
history
diff --git
a/src/lib/transcode_job.cc
b/src/lib/transcode_job.cc
index fd4dfcef6dfc10c89b699777514377b1b47820b2..97e8bd416a0432697b14dcb2503d6f82d62ba2e0 100644
(file)
--- a/
src/lib/transcode_job.cc
+++ b/
src/lib/transcode_job.cc
@@
-34,6
+34,7
@@
using std::string;
using std::stringstream;
using std::fixed;
using std::setprecision;
+using std::cout;
using boost::shared_ptr;
/** @param s Film to use.
@@
-72,9
+73,6
@@
TranscodeJob::run ()
_transcoder.reset ();
} catch (...) {
- set_progress (1);
- set_state (FINISHED_ERROR);
- _film->log()->log (N_("Transcode job failed or cancelled"));
_transcoder.reset ();
throw;
}