mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
videoscale: set min value to DBL_MIN to avoid a value of 0.0 that would crash
This commit is contained in:
parent
a83f96d988
commit
c2b34b05de
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ gst_video_scale_class_init (GstVideoScaleClass * klass)
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_SHARPNESS,
|
g_object_class_install_property (gobject_class, PROP_SHARPNESS,
|
||||||
g_param_spec_double ("sharpness", "Sharpness",
|
g_param_spec_double ("sharpness", "Sharpness",
|
||||||
"Sharpness of filter", 0.0, 2.0, DEFAULT_PROP_SHARPNESS,
|
"Sharpness of filter", DBL_MIN, 2.0, DEFAULT_PROP_SHARPNESS,
|
||||||
G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_SHARPEN,
|
g_object_class_install_property (gobject_class, PROP_SHARPEN,
|
||||||
|
|
Loading…
Reference in a new issue