diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-14 14:09:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-14 14:09:29 +0100 |
| commit | e234776046e3c735c85063e1c5a7691093a4a722 (patch) | |
| tree | 573a9fafed8e04845baa8fa86535f5a0afc81673 /src/lib/transcoder.cc | |
| parent | 133afe16d6149effe39a061311d2832c30a77222 (diff) | |
| parent | f90e90cdec39c7959c26e8199ee2170cedb4f256 (diff) | |
Merge branch 'content-rework-take5' of ssh://houllier/home/carl/git/dvdomatic into content-rework-take5
Diffstat (limited to 'src/lib/transcoder.cc')
| -rw-r--r-- | src/lib/transcoder.cc | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/lib/transcoder.cc b/src/lib/transcoder.cc index e0e127d33..2a8ce5044 100644 --- 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 (); } |
