]> git.pld-linux.org Git - packages/gstreamer-plugins-bad.git/blob - gstreamer-plugins-bad-opencv.patch
bcfa96c857bc76a3bcb3884fa1211e78355fc2c7
[packages/gstreamer-plugins-bad.git] / gstreamer-plugins-bad-opencv.patch
1 --- gst-plugins-bad-0.10.21/configure.ac.orig   2011-01-22 18:42:03.006361617 +0100
2 +++ gst-plugins-bad-0.10.21/configure.ac        2011-01-29 13:24:36.352691389 +0100
3 @@ -1226,7 +1226,7 @@
4    dnl a new version and the no-backward-compatibility define. (There doesn't
5    dnl seem to be a switch to suppress the warnings the cvcompat.h header
6    dnl causes.)
7 -  PKG_CHECK_MODULES(OPENCV, opencv >= 2.0.0 opencv <= 2.1.0 , [
8 +  PKG_CHECK_MODULES(OPENCV, opencv >= 2.2.0 opencv < 2.3.0 , [
9      AC_PROG_CXX
10      AC_LANG_CPLUSPLUS
11      OLD_CPPFLAGS=$CPPFLAGS
12 --- gst-plugins-bad-0.10.21/ext/opencv/gstfaceblur.c.orig       2010-12-07 17:22:30.000000000 +0100
13 +++ gst-plugins-bad-0.10.21/ext/opencv/gstfaceblur.c    2011-03-09 16:42:20.807412942 +0100
14 @@ -269,7 +269,7 @@ gst_faceblur_chain (GstPad * pad, GstBuf
15    if (filter->cvCascade) {
16      faces =
17          cvHaarDetectObjects (filter->cvGray, filter->cvCascade,
18 -        filter->cvStorage, 1.1, 2, 0, cvSize (30, 30));
19 +        filter->cvStorage, 1.1, 2, 0, cvSize (30, 30), cvSize (0, 0));
20  
21      if (faces && faces->total > 0) {
22        buf = gst_buffer_make_writable (buf);
23 --- gst-plugins-bad-0.10.21/ext/opencv/gstfacedetect.c.orig     2010-12-07 17:22:30.000000000 +0100
24 +++ gst-plugins-bad-0.10.21/ext/opencv/gstfacedetect.c  2011-03-09 16:45:47.607417132 +0100
25 @@ -409,7 +409,7 @@ gst_facedetect_transform_ip (GstOpencvVi
26          cvHaarDetectObjects (filter->cvGray, filter->cvCascade,
27          filter->cvStorage, filter->scale_factor, filter->min_neighbors,
28          filter->flags,
29 -        cvSize (filter->min_size_width, filter->min_size_height));
30 +        cvSize (filter->min_size_width, filter->min_size_height), cvSize (0, 0));
31  
32      if (faces && faces->total > 0) {
33        msg = gst_facedetect_message_new (filter, buf);
This page took 0.0496 seconds and 2 git commands to generate.