On 10/19/2021 2:07 AM, Soft Works wrote:


-----Original Message-----
From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of
Gyan Doshi
Sent: Tuesday, October 19, 2021 6:51 AM
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg: exit
application when decoding returns AVERROR_EXIT



On 2021-10-19 10:11 am, Soft Works wrote:

Maybe there's a better way than my patch, but what happens is
a bug IMO, and I wouldn't say that it would be a fix to say that
a certain option needs to be set by the user to "fix it".

What's ideally required is for user to designate essential and
non-essential parts of the task. Then some errors can be ignored, and
some are fatal.

Yes, and we know when this will happen - haha.

I guess I'll keep my fix and ffmpeg keeps the bug.

You could also just call ffmpeg with the -xerror option in this scenario where cuda is failing. It should abort the process at the exact same point your patch tries to.


softworkz
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to