> From: Fu, Linjie > Sent: Tuesday, October 16, 2018 9:36 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie <linjie...@intel.com>; Li, Zhong <zhong...@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. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel