Re: [FFmpeg-devel] [PATCH] h264_slice: Fix return of incomplete frames from decoder

2018-06-28 Thread Michael Niedermayer
On Wed, Jun 27, 2018 at 03:12:24PM -0700, John Stebbins wrote: > When not using libavformat for demuxing, AVCodecContext.has_b_frames > gets set too late causing the recovery frame heuristic in h264_refs to > incorrectly flag an early frame as recovered. > > This patch sets has_b_frames earlier to

[FFmpeg-devel] [PATCH] h264_slice: Fix return of incomplete frames from decoder

2018-06-27 Thread John Stebbins
When not using libavformat for demuxing, AVCodecContext.has_b_frames gets set too late causing the recovery frame heuristic in h264_refs to incorrectly flag an early frame as recovered. This patch sets has_b_frames earlier to prevent improperly flagging the frame as recovered. --- libavcodec/h264