[FFmpeg-devel] [PATCH] qsvenc_{hevc,h264}: add scenario option

Xiang, Haihao haihao.xiang at intel.com
Wed Aug 17 07:34:32 EEST 2022


On Tue, 2022-08-16 at 12:32 +0200, Anton Khirnov wrote:
> Quoting Xiang, Haihao (2022-08-12 06:52:53)
> > +#define QSV_OPTION_SCENARIO \
> > +{ "scenario", "A hint to encoder about the scenario for the encoding
> > session", OFFSET(qsv.scenario), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 8, VE,
> > "scenario" },     \
> 
> The default should probably be one of the MFX_SCENARIO flags (unknown
> makes most sense I suppose) rather than 0.
> 

Thanks for the comment, I'll change it to MFX_SCENARIO_UNKNOWN. 

BRs
Haihao



More information about the ffmpeg-devel mailing list