From 48f899257db49b5289f754cbd92fce246854dd0f Mon Sep 17 00:00:00 2001 From: Brian Gitonga Marete Date: Sat, 25 Jun 2011 06:29:50 +0300 Subject: [PATCH] x264enc: fix subme property annotation - subme maximum is 10, not 6. Although the element accepts subme values > 6, the annotation which is visible through gst-inspect (for example) erroneously indicates 6 as the maximum. Fix this by indicating 10 (which is the x264 max) as the maximum. https://bugzilla.gnome.org/show_bug.cgi?id=653473 --- ext/x264/gstx264enc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c index 66e764797e..23d76f704d 100644 --- a/ext/x264/gstx264enc.c +++ b/ext/x264/gstx264enc.c @@ -673,8 +673,9 @@ gst_x264_enc_class_init (GstX264EncClass * klass) x264_motion_est_names[ARG_ME_DEFAULT]); g_object_class_install_property (gobject_class, ARG_SUBME, g_param_spec_uint ("subme", "Subpixel Motion Estimation", - "Subpixel motion estimation and partition decision quality: 1=fast, 6=best", - 1, 6, ARG_SUBME_DEFAULT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + "Subpixel motion estimation and partition decision quality: 1=fast, 10=best", + 1, 10, ARG_SUBME_DEFAULT, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_string_append_printf (x264enc_defaults, ":subme=%d", ARG_SUBME_DEFAULT); g_object_class_install_property (gobject_class, ARG_ANALYSE, g_param_spec_flags ("analyse", "Analyse", "Partitions to consider",