On Thu, Mar 18, 2021 at 02:57:59PM -0600, Pavel Koshevoy wrote: > On Thu, Mar 18, 2021 at 2:51 PM Marton Balint <[email protected]> wrote: > > > > > > > On Wed, 17 Mar 2021, Pavel Koshevoy wrote: > > > > > Preserve AV_PKT_FLAG_CORRUPT so the caller can decide whether to drop > > > the packet. > > > > LGTM, but Michael was against it last time: > > > > > > https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/ > > > > > > > > I have a source where a corrupt packet is able to poison the video decoder > so that the subsequent video is decoded with severe visual artifacts.
Why dont you fix the video decoder? Note, if droping packets works better in general there is a bug in the video decoders handling of it. > My workaround > is to detect corrupt packets, drop them and re-create the video > decoder on the next non-corrupt packet. This workaround is working well so > far. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety -- Benjamin Franklin
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
