[Bug 747711] New: W32: gstopencvface{detect,blur} uses hardcoded default paths
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Apr 11 12:18:17 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747711
Bug ID: 747711
Summary: W32: gstopencvface{detect,blur} uses hardcoded default
paths
Classification: Platform
Product: GStreamer
Version: unspecified
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: lrn1986 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Default cascade paths are hardcoded as:
OPENCV_PREFIX + PATH_TO_CASCADE
where OPENCV_PREFIX is obtained by pkg-conifg from opencv.pc
First problem is that w32 pkg-config by default gets a DOS version
of OPENCV_PREFIX, so the resulting cascade path is:
A) Absolute
B) DOS
This can be fixed by passing --dont-define-prefix to pkg-config
(a trick well-known to anyone who builds anything with MinGW/MSYS),
which makes it output prefix that starts with '/' (usually '/mingw').
So now cascade path is:
A) Absolute
B) POSIX
Which fixes nothing, since Windows does not understand POSIX paths.
However, in this case some code and path wizardry can fix the situation
(see the patch attached).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list