projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff62d6
)
Seems wrong to try to complete an encode if it has thrown an exception.
author
Carl Hetherington
<cth@carlh.net>
Fri, 12 Apr 2013 19:29:17 +0000
(20:29 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 12 Apr 2013 19:29:17 +0000
(20:29 +0100)
src/lib/transcoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/transcoder.cc
b/src/lib/transcoder.cc
index e0e127d33b565da5133dd45069c4e9b49838726a..2a8ce50448c1ed31dc778767d702561e71d63522 100644
(file)
--- a/
src/lib/transcoder.cc
+++ b/
src/lib/transcoder.cc
@@
-79,19
+79,13
@@
void
Transcoder::go ()
{
_encoder->process_begin ();
- try {
- while (1) {
- if (_player->pass ()) {
- break;
- }
- _player->set_progress (_job);
+ while (1) {
+ if (_player->pass ()) {
+ break;
}
-
- } catch (...) {
- _encoder->process_end ();
- throw;
+ _player->set_progress (_job);
}
-
+
if (_delay_line) {
_delay_line->process_end ();
}