x264: vbv-buf-capacity should have a minimum of 0
authorTristan Matthews <tristan@sat.qc.ca>
Fri, 19 Nov 2010 18:01:35 +0000 (13:01 -0500)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 29 Dec 2010 18:32:57 +0000 (18:32 +0000)
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

index 3dd35aa..a12978b 100644 (file)
@@ -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