diff options
author | Linjie Fu <linjie.fu@intel.com> | 2019-03-29 13:19:06 +0800 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-04-01 19:21:42 +0800 |
commit | a8355eed3699acffebb70e1b939989d39b72dfc7 (patch) | |
tree | e842577f5bd41db22da345a4ff5e9ec1e4dba44e /libavcodec/qsvenc_h264.c | |
parent | 7f9a81b1105618fc064fdfdb8c97570c032a0bf0 (diff) | |
download | ffmpeg-a8355eed3699acffebb70e1b939989d39b72dfc7.tar.gz |
lavc/qsvenc: expose low_power as a common option for QSV encoder
Always exposes low_power option for all qsv encoder, and reports a warning
if VDENC is not supported in current version of MSDK.
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavcodec/qsvenc_h264.c')
-rw-r--r-- | libavcodec/qsvenc_h264.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/qsvenc_h264.c b/libavcodec/qsvenc_h264.c index 2bf3419d27..27f36b9f7b 100644 --- a/libavcodec/qsvenc_h264.c +++ b/libavcodec/qsvenc_h264.c @@ -148,10 +148,6 @@ static const AVOption options[] = { { "auto" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_MF_AUTO }, INT_MIN, INT_MAX, VE, "mfmode" }, #endif -#if QSV_HAVE_VDENC - { "low_power", "enable low power mode(experimental: many limitations by mfx version, BRC modes, etc.)", OFFSET(qsv.low_power), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE}, -#endif - { "repeat_pps", "repeat pps for every frame", OFFSET(qsv.repeat_pps), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE }, { NULL }, |