[Bug 747711] W32: gstopencvface{detect,blur} uses hardcoded default paths

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 11 12:18:22 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747711

--- Comment #1 from LRN <lrn1986 at gmail.com> ---
Created attachment 301379
  --> https://bugzilla.gnome.org/attachment.cgi?id=301379&action=edit
W32: Make OpenCV cascades relocatable

Check the profile file path. If it starts with '/', compare its
betinning to the configure-time OpenCV prefix and, if they match,
replace ith with the runtime OpenCV prefix.

This code assumes that OPENCV_PREFIX is in non-mangled form
(i.e. "/mingw", not "c:\\somewhere\\mingw"). The easiest way to
accomplish this is to change configure.ac to give --dont-define-prefix
option to pkg-config when it tries to find opencv prefix. However,
that change is distribution-specific and not included in this commit.

-- 
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