projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dfc0f5
)
facedetect: make updates on_change works as expected
author
Nicola Murino
<nicola.murino@gmail.com>
Wed, 21 May 2014 10:59:57 +0000
(12:59 +0200)
committer
Thiago Santos
<ts.santos@osg.samsung.com>
Tue, 22 Jul 2014 10:59:09 +0000
(07:59 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=730509
ext/opencv/gstfacedetect.c
patch
|
blob
|
history
diff --git
a/ext/opencv/gstfacedetect.c
b/ext/opencv/gstfacedetect.c
index
c531480
..
5903108
100644
(file)
--- a/
ext/opencv/gstfacedetect.c
+++ b/
ext/opencv/gstfacedetect.c
@@
-561,7
+561,8
@@
gst_face_detect_transform_ip (GstOpencvVideoFilter * base, GstBuffer * buf,
break;
case GST_FACEDETECT_UPDATES_ON_CHANGE:
if (faces && faces->total > 0) {
- post_msg = TRUE;
+ if (!filter->face_detected)
+ post_msg = TRUE;
} else {
if (filter->face_detected) {
post_msg = TRUE;