diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-02 10:06:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-02 10:06:48 +0100 |
| commit | aac97a7653003ab7032d927eeb236cff4ad726d1 (patch) | |
| tree | a0e0cdf8da922868ad032c94e00eb0839c034638 /src/lib/ffmpeg_decoder.cc | |
| parent | eafc31e4f513a8ec11bd806e5bf36f21d32689a0 (diff) | |
Speculative fix for hangs during Encoder::end().
I think it's possible that, if an exception is thrown by
an Encoder thread during the clear-out loop at the
top of Encoder::end, that loop will hang waiting for
a notify() on _full_condition that never comes.
Fix this by rethrow()ing in this loop and notifying
_full_condition if an encoder thread throws an exception.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
0 files changed, 0 insertions, 0 deletions
