libs: encoder: increase bitrate prop max value

There are many profile levels that can support
more than 102400 kbps.  Thus, increase the max
allowed bitrate property value from 102400 kbps
to 2048000 kbps (same as msdk encoder plugins).
This commit is contained in:
U. Artie Eoff 2019-05-31 12:30:03 -07:00 committed by Víctor Manuel Jáquez Leal
parent de51eb0059
commit ed7277a1b7

View file

@ -151,7 +151,7 @@ gst_vaapi_encoder_properties_get_default (const GstVaapiEncoderClass * klass)
g_param_spec_uint ("bitrate",
"Bitrate (kbps)",
"The desired bitrate expressed in kbps (0: auto-calculate)",
0, 100 * 1024, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
0, 2000 * 1024, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* GstVaapiEncoder:target-percentage: