projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a83f96d
)
videoscale: set min value to DBL_MIN to avoid a value of 0.0 that would crash
author
Stefan Sauer
<ensonic@users.sf.net>
Fri, 5 Apr 2013 20:03:56 +0000
(22:03 +0200)
committer
Stefan Sauer
<ensonic@users.sf.net>
Fri, 5 Apr 2013 20:39:43 +0000
(22:39 +0200)
gst/videoscale/gstvideoscale.c
patch
|
blob
|
history
diff --git
a/gst/videoscale/gstvideoscale.c
b/gst/videoscale/gstvideoscale.c
index
a76dcbb
..
8aae6ce
100644
(file)
--- a/
gst/videoscale/gstvideoscale.c
+++ b/
gst/videoscale/gstvideoscale.c
@@
-234,7
+234,7
@@
gst_video_scale_class_init (GstVideoScaleClass * klass)
g_object_class_install_property (gobject_class, PROP_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_object_class_install_property (gobject_class, PROP_SHARPEN,