mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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
This commit is contained in:
parent
50f1f51930
commit
48f899257d
1 changed files with 3 additions and 2 deletions
|
@ -673,8 +673,9 @@ gst_x264_enc_class_init (GstX264EncClass * klass)
|
||||||
x264_motion_est_names[ARG_ME_DEFAULT]);
|
x264_motion_est_names[ARG_ME_DEFAULT]);
|
||||||
g_object_class_install_property (gobject_class, ARG_SUBME,
|
g_object_class_install_property (gobject_class, ARG_SUBME,
|
||||||
g_param_spec_uint ("subme", "Subpixel Motion Estimation",
|
g_param_spec_uint ("subme", "Subpixel Motion Estimation",
|
||||||
"Subpixel motion estimation and partition decision quality: 1=fast, 6=best",
|
"Subpixel motion estimation and partition decision quality: 1=fast, 10=best",
|
||||||
1, 6, ARG_SUBME_DEFAULT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
1, 10, ARG_SUBME_DEFAULT,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
g_string_append_printf (x264enc_defaults, ":subme=%d", ARG_SUBME_DEFAULT);
|
g_string_append_printf (x264enc_defaults, ":subme=%d", ARG_SUBME_DEFAULT);
|
||||||
g_object_class_install_property (gobject_class, ARG_ANALYSE,
|
g_object_class_install_property (gobject_class, ARG_ANALYSE,
|
||||||
g_param_spec_flags ("analyse", "Analyse", "Partitions to consider",
|
g_param_spec_flags ("analyse", "Analyse", "Partitions to consider",
|
||||||
|
|
Loading…
Reference in a new issue