[FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Added an option to ignore io errors

Jeyapal, Karthick kjeyapal at akamai.com
Wed Nov 28 19:11:54 EET 2018


On 11/27/18 9:52 PM, Carl Eugen Hoyos wrote:
> 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...
I appreciate your comment. Always happy to accept suggestions that will make this code better. Have sent PATCH v2 with these changes.
And it is everybody's code. I am just a maintainer (

Regards,
Karthick
>
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list