[FFmpeg-devel] [PATCH] h264_slice: Fix return of incomplete frames from decoder
michael at niedermayer.cc
Thu Jun 28 22:13:38 EEST 2018
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 prevent improperly flagging the
> frame as recovered.
> libavcodec/h264_slice.c | 5 +++++
> 1 file changed, 5 insertions(+)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: not available
More information about the ffmpeg-devel