mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/qsvenc_jpeg: set a default quality
Keep alignment with vaapi mjpeg encoder. Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
0e3d7d845d
commit
92c25963e8
@ -75,6 +75,11 @@ static const AVClass class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
static const AVCodecDefault qsv_enc_defaults[] = {
|
||||
{ "global_quality", "80" },
|
||||
{ NULL },
|
||||
};
|
||||
|
||||
AVCodec ff_mjpeg_qsv_encoder = {
|
||||
.name = "mjpeg_qsv",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("MJPEG (Intel Quick Sync Video acceleration)"),
|
||||
@ -89,5 +94,6 @@ AVCodec ff_mjpeg_qsv_encoder = {
|
||||
AV_PIX_FMT_QSV,
|
||||
AV_PIX_FMT_NONE },
|
||||
.priv_class = &class,
|
||||
.defaults = qsv_enc_defaults,
|
||||
.wrapper_name = "qsv",
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user