FFmpeg/libavcodec
Wenbin Chen aeceefa622 libavcodec/qsvenc: Flush cached frames before reset encoder
According to https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#configuration-change.
Before calling MFXVideoENCODE_Reset, The application needs to retrieve
any cached frames in the SDK encoder.
A loop is added before MFXVideoENCODE_Reset to retrieve cached frames
and add them to async_fifo, so that dynamic configuration works when
async_depth > 1.

Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
2023-02-16 11:15:50 +08:00
..
2023-01-30 20:57:37 +01:00
2023-02-11 21:26:37 +01:00
2022-12-13 08:48:59 -05:00
2023-02-11 21:26:37 +01:00
2023-02-11 21:26:37 +01:00
2023-02-09 15:35:14 +01:00
2023-02-09 15:35:08 +01:00
2023-02-04 13:12:28 +01:00
2023-01-27 19:45:36 +01:00
2023-01-26 20:37:14 +01:00
2023-01-11 12:12:27 +01:00
2023-02-11 21:26:37 +01:00
2023-02-09 15:35:14 +01:00
2023-02-09 15:35:14 +01:00
2023-01-31 09:00:56 +01:00
2023-02-04 13:40:20 +01:00
2023-01-25 08:09:24 -05:00
2023-02-09 15:35:14 +01:00
2023-02-15 14:16:49 +01:00
2023-01-17 12:54:54 +01:00
2023-01-11 12:12:26 +01:00
2022-12-24 23:43:45 +01:00
2022-12-08 17:48:21 +01:00
2023-02-07 20:58:59 +01:00