FFmpeg/libavcodec
Linjie Fu 87368884a5 lavc/qsvdec: flush 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.

[V2]: Move the definition of zero_pkt to where it is exactly
used.

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-11-06 17:42:29 +08:00
..
2018-04-30 21:50:12 +02:00
2018-08-28 04:25:35 +01:00
2018-10-15 01:19:45 +02:00
2018-10-03 20:48:49 -03:00
2018-10-12 09:48:07 -07:00
2018-08-08 00:13:13 +05:30
2018-07-22 10:19:03 +02:00
2018-09-23 14:42:34 +01:00
2018-09-23 14:42:34 +01:00
2018-07-18 13:59:25 +02:00
2018-04-19 22:59:40 +02:00
2018-04-25 23:09:47 +02:00
2018-09-30 22:23:02 +02:00
2018-09-09 11:35:14 +02:00
2018-09-23 15:25:50 +02:00
2018-10-23 00:51:55 +02:00
2018-05-25 20:09:22 +02:00
2018-09-09 22:58:26 +02:00
2018-10-28 16:42:41 +00:00
2018-10-03 20:48:49 -03:00
2018-08-22 11:36:19 +02:00
2018-05-10 23:03:50 +02:00
2018-09-14 21:36:21 +02:00
2018-05-05 21:35:31 +02:00
2018-09-08 21:21:50 +02:00
2018-04-25 22:07:20 +02:00
2018-09-30 22:23:02 +02:00