Re: [FFmpeg-devel] [PATCH V2] avcodec-qsvdec-flush-the-buffered-data-before-reinit

2018-11-06 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Li, Zhong > Sent: Tuesday, October 23, 2018 3:22 PM > To: Fu, Linjie ; ffmpeg-devel@ffmpeg.org > Cc: Dmytrychenko, Maxym > Subject: Re: [FFmpeg-devel] [PATCH V2] > avcodec-qsvdec-flush-the-buffer

Re: [FFmpeg-devel] [PATCH V2] avcodec-qsvdec-flush-the-buffered-data-before-reinit

2018-10-23 Thread Li, Zhong
> From: Fu, Linjie > Sent: Tuesday, October 16, 2018 9:36 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie ; Li, Zhong > 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

[FFmpeg-devel] [PATCH V2] avcodec-qsvdec-flush-the-buffered-data-before-reinit

2018-10-15 Thread Linjie Fu
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.