facedetect: make updates on_change works as expected
https://bugzilla.gnome.org/show_bug.cgi?id=730509
This commit is contained in:
parent
00b33e2068
commit
3896dd8413
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user