diff --git a/src/modules/ffmpeg/producer/av_producer.cpp b/src/modules/ffmpeg/producer/av_producer.cpp index d4898feebc..52a92e1b9a 100644 --- a/src/modules/ffmpeg/producer/av_producer.cpp +++ b/src/modules/ffmpeg/producer/av_producer.cpp @@ -205,6 +205,15 @@ class Decoder } } catch (boost::thread_interrupted&) { // Do nothing... + } catch (ffmpeg::ffmpeg_error_t& ex) { + if (auto errn = boost::get_error_info(ex)) { + if (*errn == AVERROR_EXIT) { + return; + } + } + CASPAR_LOG_CURRENT_EXCEPTION(); + } catch (...) { + CASPAR_LOG_CURRENT_EXCEPTION(); } }); }