Files
ffmpeg/libavcodec
Zhong Li d91370e0f1 lavc/encode: fix frame_number double-counted
Encoder frame_number may be double-counted if some frames are cached and then flushed.
Take qsv encoder (some frames are cached firsty for asynchronism) as example,
./ffmpeg -loglevel verbose -hwaccel qsv -c:v h264_qsv -i in.mp4 -vframes 100 -c:v h264_qsv out.mp4
frame_number passed to encoder is double-counted and larger than the accurate value.
Libx264 encoding with B frames can also reproduce it.

Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-08-27 16:54:40 +08:00
..
2018-04-30 21:50:12 +02:00
2018-07-03 20:15:01 +01:00
2018-08-08 00:13:13 +05:30
2018-07-22 10:19:03 +02: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-08-21 11:52:06 +02:00
2018-05-25 20:09:22 +02:00
2018-08-08 00:13:13 +05:30
2018-08-26 18:04:16 +02:00
2018-07-27 20:07:45 +08:00
2018-03-29 00:05:52 -03:00
2018-08-22 11:36:19 +02:00
2018-05-10 23:03:50 +02:00
2018-05-05 21:35:31 +02:00
2018-07-23 02:58:38 +02:00
2018-04-25 22:07:20 +02:00