diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2021-08-12 10:33:56 +0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-08-12 22:25:11 -0300 |
commit | 115f5e803502451ac64fa698730923299e5acc4e (patch) | |
tree | be9de02974861c9fbb281699177495483691f379 /libavformat/ip.c | |
parent | 21c7df0d22dc83b748659cb3068729944ff57095 (diff) | |
download | ffmpeg-115f5e803502451ac64fa698730923299e5acc4e.tar.gz |
lavc/qsvenc: allows the SDK runtime to choose LowPower/non-LowPower modes
The SDK supports LowPower and non-LowPower modes, but some features are
available only under one of the two modes. Currently non-LowPower mode
is always chosen in FFmpeg if the mode is not set to LowPower
explicitly. User will experience some SDK errors if a LowPower related
feature is specified but the mode is not set to LowPower. With this
patch, the mode is set to unknown by default in FFmpeg, the SDK is able
to choose a workable mode for the specified features.
Reviewed-by: Soft Works <softworkz@hotmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/ip.c')
0 files changed, 0 insertions, 0 deletions