[FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Added an option to ignore io errors
Carl Eugen Hoyos
ceffmpeg at gmail.com
Tue Nov 27 18:22:20 EET 2018
2018-11-26 11:25 GMT+01:00, Karthick J <kjeyapal at akamai.com>:
> When dashenc has to run for long duration(say 24x7 live stream), one can
> enable this option to ignore the io failure of few segment's upload due to
> an intermittent network issues.
> When the network connection recovers dashenc will continue with the upload
> of the current segments, leading to the recovery of the stream.
> - return ret;
> + if (c->ignore_io_errors)
> + return 0;
> + else
> + return ret;
Maybe: return c->ignore_io_errors ? 0 : ret;
but it's your code...
More information about the ffmpeg-devel