mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
msdk: set the upper bound of max-vbv-bitrate to 2048000 kbps
The upper bound of bitrate is also 2048000 kbps which should be large enough in practice. Fix https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/863
This commit is contained in:
parent
0b94ed81a4
commit
5fc160fa59
1 changed files with 2 additions and 1 deletions
|
@ -1824,10 +1824,11 @@ gst_msdkenc_install_common_properties (GstMsdkEncClass * klass)
|
|||
0, G_MAXUINT16, PROP_MAX_FRAME_SIZE_DEFAULT,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||
|
||||
/* Set the same upper bound with bitrate */
|
||||
obj_properties[GST_MSDKENC_PROP_MAX_VBV_BITRATE] =
|
||||
g_param_spec_uint ("max-vbv-bitrate", "Max VBV Bitrate",
|
||||
"Maximum bitrate(kbit/sec) at which data enters Video Buffering Verifier (0: auto-calculate)",
|
||||
0, G_MAXUINT16, PROP_MAX_VBV_BITRATE_DEFAULT,
|
||||
0, 2000 * 1024, PROP_MAX_VBV_BITRATE_DEFAULT,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_properties[GST_MSDKENC_PROP_AVBR_ACCURACY] =
|
||||
|
|
Loading…
Reference in a new issue