aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE.md
diff options
context:
space:
mode:
authorWenbin Chen <wenbin.chen@intel.com>2023-02-13 17:03:17 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2023-02-16 11:15:50 +0800
commitaeceefa6220ccb8eac625f78c6fa90d048ccd2de (patch)
tree6e030a56ab9306d34ce7d4397dda8e1e7b9e9851 /LICENSE.md
parente530d38bbf5f58e3e22f87dff635a50e267abb77 (diff)
downloadffmpeg-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 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions