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:
86a503a
)
gaudi: don't run gaussian function if sigma is 0
author
Luis de Bethencourt
<luis.bg@samsung.com>
Thu, 23 Apr 2015 10:47:37 +0000
(11:47 +0100)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Thu, 23 Apr 2015 10:47:37 +0000
(11:47 +0100)
gst/gaudieffects/gstgaussblur.c
patch
|
blob
|
history
diff --git
a/gst/gaudieffects/gstgaussblur.c
b/gst/gaudieffects/gstgaussblur.c
index 2ba0ce85b29b4ef4ade81f32e3151850275b902c..89fd9292914bb8e1136897fc99fda299e0500468 100644
(file)
--- a/
gst/gaudieffects/gstgaussblur.c
+++ b/
gst/gaudieffects/gstgaussblur.c
@@
-249,7
+249,8
@@
gst_gaussianblur_transform_frame (GstVideoFilter * vfilter,
src = GST_VIDEO_FRAME_COMP_DATA (in_frame, 0);
dest = GST_VIDEO_FRAME_COMP_DATA (out_frame, 0);
gst_video_frame_copy (out_frame, in_frame);
- gaussian_smooth (filter, src, dest);
+ if (filter->sigma != 0.0)
+ gaussian_smooth (filter, src, dest);
return GST_FLOW_OK;
}