x264: vbv-buf-capacity should have a minimum of 0
x264 will clip this value internally, and users should be allowed to specify a lower value than 300 ms. https://bugzilla.gnome.org/show_bug.cgi?id=635291
This commit is contained in:
parent
09bffa4be1
commit
71567bb0f9
@ -578,7 +578,7 @@ gst_x264_enc_class_init (GstX264EncClass * klass)
|
|||||||
g_object_class_install_property (gobject_class, ARG_VBV_BUF_CAPACITY,
|
g_object_class_install_property (gobject_class, ARG_VBV_BUF_CAPACITY,
|
||||||
g_param_spec_uint ("vbv-buf-capacity", "VBV buffer capacity",
|
g_param_spec_uint ("vbv-buf-capacity", "VBV buffer capacity",
|
||||||
"Size of the VBV buffer in milliseconds",
|
"Size of the VBV buffer in milliseconds",
|
||||||
300, 10000, ARG_VBV_BUF_CAPACITY_DEFAULT,
|
0, 10000, ARG_VBV_BUF_CAPACITY_DEFAULT,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
#ifdef X264_PRESETS
|
#ifdef X264_PRESETS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user