On Mon, 14 Sep 2020 at 17:37, Kieran Kunhya <kier...@obe.tv> wrote: > From 21bf6e5eac61d34f270534dd5a2a7229967c1ee9 Mon Sep 17 00:00:00 2001 > From: Kieran Kunhya <kier...@obe.tv> > Date: Thu, 16 Jul 2020 20:29:24 +0100 > Subject: [PATCHv2] [RFC] libavcodec/hevc_refs: Clear DPB of old frames > > During glitching or looping streams, old frames remain in the DPB. > The decoder incorrectly thinks that the DPB contains the right number > of buffered frames to output and reordering breaks badly >
It seems there are also legal streams that have jumps in POC. So I am really not sure how one distinguishes between a glitch or stream loop which requires cleaning out the DPB vs a genuine stream. Kieran _______________________________________________ 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".