--- gst-plugins-bad-0.10.21/configure.ac.orig 2011-01-22 18:42:03.006361617 +0100 +++ gst-plugins-bad-0.10.21/configure.ac 2011-01-29 13:24:36.352691389 +0100 @@ -1226,7 +1226,7 @@ dnl a new version and the no-backward-compatibility define. (There doesn't dnl seem to be a switch to suppress the warnings the cvcompat.h header dnl causes.) - PKG_CHECK_MODULES(OPENCV, opencv >= 2.0.0 opencv <= 2.1.0 , [ + PKG_CHECK_MODULES(OPENCV, opencv >= 2.2.0 opencv < 2.3.0 , [ AC_PROG_CXX AC_LANG_CPLUSPLUS OLD_CPPFLAGS=$CPPFLAGS --- gst-plugins-bad-0.10.21/ext/opencv/gstfaceblur.c.orig 2010-12-07 17:22:30.000000000 +0100 +++ gst-plugins-bad-0.10.21/ext/opencv/gstfaceblur.c 2011-03-09 16:42:20.807412942 +0100 @@ -269,7 +269,7 @@ gst_faceblur_chain (GstPad * pad, GstBuf if (filter->cvCascade) { faces = cvHaarDetectObjects (filter->cvGray, filter->cvCascade, - filter->cvStorage, 1.1, 2, 0, cvSize (30, 30)); + filter->cvStorage, 1.1, 2, 0, cvSize (30, 30), cvSize (0, 0)); if (faces && faces->total > 0) { buf = gst_buffer_make_writable (buf); --- gst-plugins-bad-0.10.21/ext/opencv/gstfacedetect.c.orig 2010-12-07 17:22:30.000000000 +0100 +++ gst-plugins-bad-0.10.21/ext/opencv/gstfacedetect.c 2011-03-09 16:45:47.607417132 +0100 @@ -409,7 +409,7 @@ gst_facedetect_transform_ip (GstOpencvVi cvHaarDetectObjects (filter->cvGray, filter->cvCascade, filter->cvStorage, filter->scale_factor, filter->min_neighbors, filter->flags, - cvSize (filter->min_size_width, filter->min_size_height)); + cvSize (filter->min_size_width, filter->min_size_height), cvSize (0, 0)); if (faces && faces->total > 0) { msg = gst_facedetect_message_new (filter, buf);