[FFmpeg-devel] [PATCH] set AVFrame decode_error_flags to FF_DECODE_ERROR_CONCEALMENT_ACTIVE in case of concealed errors

Amir Z amir at livelyvideo.tv
Fri Jun 21 17:22:31 EEST 2019


Thanks Michael,

I submitted two new patches.

I add a new value FF_DECODE_ERROR_DECODE_SLICES.

FF_DECODE_ERROR_DECODE_SLICES indicates that error(s) occurred during
slices decoding but the return code is set to zero (set where previously
FF_DECODE_ERROR_CONCEALMENT_ACTIVE was set).

FF_DECODE_ERROR_CONCEALMENT_ACTIVE indicates that an attempt to correct
those errors was made (set where you suggested)

Amir


On Wed, Jun 19, 2019 at 12:38 PM Michael Niedermayer <michael at niedermayer.cc>
wrote:

> On Tue, Jun 18, 2019 at 03:14:47PM +0300, Amir Z wrote:
> > Thanks Michael,
> >
> > The reason I set the flag before the log line in ff_er_frame_end is
> because
> > the code might never get there even though the return value is set to
> zero.
> >
> > Should we use two different values ?
>
> if there are 2 semantically different cases, maybe yes
>
> thx
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Opposition brings concord. Out of discord comes the fairest harmony.
> -- Heraclitus
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list