[FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg: exit application when decoding returns AVERROR_EXIT

Soft Works softworkz at hotmail.com
Tue Oct 19 07:08:53 EEST 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Gyan Doshi
> Sent: Tuesday, October 19, 2021 6:01 AM
> To: ffmpeg-devel at ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg: exit
> application when decoding returns AVERROR_EXIT
> 
> 
> 
> On 2021-10-19 04:54 am, Soft Works wrote:
> > Introduce a way for decoders to request application exit via error
> return
> 
> Why? The ffmpeg app may be processing multiple inputs and outputs. At
> most, you can close the codec and end the stream.

When a hardware device fails unexpectedly, why should the app continue
running? In this case, it's clear that things do not work as intended.

softworkz


More information about the ffmpeg-devel mailing list