diff options
author | Wenbin Chen <wenbin.chen@intel.com> | 2023-02-13 17:03:17 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2023-02-16 11:15:50 +0800 |
commit | aeceefa6220ccb8eac625f78c6fa90d048ccd2de (patch) | |
tree | 6e030a56ab9306d34ce7d4397dda8e1e7b9e9851 /tests/filtergraphs/anequalizer | |
parent | e530d38bbf5f58e3e22f87dff635a50e267abb77 (diff) | |
download | ffmpeg-aeceefa6220ccb8eac625f78c6fa90d048ccd2de.tar.gz |
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>
Diffstat (limited to 'tests/filtergraphs/anequalizer')
0 files changed, 0 insertions, 0 deletions