[FFmpeg-devel] [PATCH] set AVFrame decode_error_flags in case of decoding error by h264dec
michael at niedermayer.cc
Wed Jun 12 10:48:08 EEST 2019
On Tue, Jun 11, 2019 at 03:21:41PM -0500, Amir Z wrote:
> Thanks Michael Niedermayer for looking into this
> What I am trying to solve is having a way to detect concealed decoding
> errors by the caller to avcodec_receive_frame.
> Should I add a general value e.g. #define
> FF_DECODE_ERROR_DECODE_ERROR_OCCURRED 4 ?
FF_DECODE_ERROR_CONCEALMENT_ACTIVE or something similar and then always
set this for all cases of error concealment
Its more informative than just knowing there was an error
also dont forget to increase minor version and add a entry to APICHanges
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: not available
More information about the ffmpeg-devel