diff options
author | Wenbin Chen <[email protected]> | 2022-07-14 16:43:25 +0800 |
---|---|---|
committer | Haihao Xiang <[email protected]> | 2022-07-20 12:35:23 +0800 |
commit | 52ad617af56e5bd009f488a26ceb4f73595b2477 (patch) | |
tree | 99eed9076f93012fb281ed5ecb3f4042f256c114 /libswresample/arm/audio_convert_init.c | |
parent | 8b82c9cdc74fd227726b81a7c1768b11536c4471 (diff) |
libavcodec/qsvenc: Use parameter from AVCodecContext to reset qsv codec
Using parameter from AVCodecContext to reset qsv codec is more suitable
for MFXVideoENCODE_Reset()'s usage. Per-frame metadata is more suitable
for the usage of mfxEncodeCtrl being passed to
MFXVideoENCODE_EncodeFrameAsync(). Now change it to use the value
from AVCodecContext.
Because q->param is passed to both "in" and "out" parameters when call
MFXVideoENCODE_Query(), the value in q->param may be changed. New
variables are added to store old configuration, so that we can detect
real parameter change.
Signed-off-by: Wenbin Chen <[email protected]>
Signed-off-by: Haihao Xiang <[email protected]>
Diffstat (limited to 'libswresample/arm/audio_convert_init.c')
0 files changed, 0 insertions, 0 deletions