From 71567bb0f92364964a6b223b949f3c0c869b4784 Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Fri, 19 Nov 2010 13:01:35 -0500 Subject: [PATCH] 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 --- ext/x264/gstx264enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c index 3dd35aaed0..a12978b4e3 100644 --- a/ext/x264/gstx264enc.c +++ b/ext/x264/gstx264enc.c @@ -578,7 +578,7 @@ gst_x264_enc_class_init (GstX264EncClass * klass) g_object_class_install_property (gobject_class, ARG_VBV_BUF_CAPACITY, g_param_spec_uint ("vbv-buf-capacity", "VBV buffer capacity", "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)); #ifdef X264_PRESETS