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
..
2017-02-15 12:46:01 +01:00
2018-04-30 21:50:12 +02:00
2017-05-29 14:08:07 +02:00
2016-03-28 14:13:17 -08:00
2016-10-09 20:09:00 +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
2017-07-07 15:23:58 -04:00
2018-09-23 14:42:34 +01:00
2018-09-23 14:42:34 +01:00
2017-05-08 12:30:09 +02:00
2018-07-18 13:59:25 +02:00
2018-04-19 22:59:40 +02:00
2017-03-20 09:23:15 +01:00
2018-04-25 23:09:47 +02:00
2016-03-04 13:51:42 +01:00
2017-02-21 00:40:20 +01: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
2016-08-28 11:18:16 +02:00
2016-09-17 13:23:56 +01:00
2017-02-03 20:16:30 +01:00
2017-01-11 16:02:10 +01:00
2017-12-10 14:43:01 +01:00
2018-01-03 13:00:06 -05: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
2016-04-14 22:31:57 +02:00
2018-05-05 21:35:31 +02:00
2017-07-26 06:13:05 +07:00
2017-07-11 13:22:02 +07:00
2014-04-22 20:44:31 +02:00
2017-05-25 14:30:04 +02:00
2018-09-08 21:21:50 +02:00
2017-10-04 23:14:37 +01:00
2018-04-25 22:07:20 +02:00
2017-07-14 02:30:37 +02:00
2018-09-30 22:23:02 +02:00
2017-01-20 13:58:41 +01:00