From: Thiago Santos Date: Wed, 3 Aug 2011 16:40:19 +0000 (-0300) Subject: encodebin: Fix typo on installing properties X-Git-Tag: 1.19.3~511^2~6555^2~735 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b263bacc579f582f4983ad744a82dde6537a88e0;p=platform%2Fupstream%2Fgstreamer.git encodebin: Fix typo on installing properties queue buffers and bytes properties have ids swapped, fix it. --- diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index b41f29b..22a09de 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -348,13 +348,13 @@ gst_encode_bin_class_init (GstEncodeBinClass * klass) "The GstEncodingProfile to use", GST_TYPE_ENCODING_PROFILE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - g_object_class_install_property (gobject_klass, PROP_QUEUE_BUFFERS_MAX, + g_object_class_install_property (gobject_klass, PROP_QUEUE_BYTES_MAX, g_param_spec_uint ("queue-bytes-max", "Max. size (kB)", "Max. amount of data in the queue (bytes, 0=disable)", 0, G_MAXUINT, DEFAULT_QUEUE_BYTES_MAX, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - g_object_class_install_property (gobject_klass, PROP_QUEUE_BYTES_MAX, + g_object_class_install_property (gobject_klass, PROP_QUEUE_BUFFERS_MAX, g_param_spec_uint ("queue-buffers-max", "Max. size (buffers)", "Max. number of buffers in the queue (0=disable)", 0, G_MAXUINT, DEFAULT_QUEUE_BUFFERS_MAX,