[FFmpeg-devel] [PATCH V2] avcodec-qsvdec-flush-the-buffered-data-before-reinit
zhong.li at intel.com
Tue Nov 6 12:01:37 EET 2018
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Li, Zhong
> Sent: Tuesday, October 23, 2018 3:22 PM
> To: Fu, Linjie <linjie.fu at intel.com>; ffmpeg-devel at ffmpeg.org
> Cc: Dmytrychenko, Maxym <maxym.dmytrychenko at intel.com>
> Subject: Re: [FFmpeg-devel] [PATCH V2]
> > From: Fu, Linjie
> > Sent: Tuesday, October 16, 2018 9:36 AM
> > To: ffmpeg-devel at ffmpeg.org
> > Cc: Fu, Linjie <linjie.fu at intel.com>; Li, Zhong <zhong.li at intel.com>
> > Subject: [PATCH V2]
> > avcodec-qsvdec-flush-the-buffered-data-before-reinit
> > Flush the buffered data in libmfx before video param reinit in case
> > the frames drop.
> > Cache the first frame causing the reinit and decode zero-size pkt to
> > flush the buffered pkt before reinit. After all the buffered pkts
> > being flushed, resume to reinit and decode.
> > Fix the issue in ticket #7399.
> > Modified in qsvdec_other.c as well.
> > [V2]: Move the definition of zero_pkt to where it is exactly used.
> LGTM. Will apply after verification.
Verified with same MD5 with ffmpeg software decoder.
Pushed with some minor changes (title, commit message, and remove redundant space).
More information about the ffmpeg-devel