From 5937e58a11012957cd3b05cb9e01382ff25c899c Mon Sep 17 00:00:00 2001 From: Alexey Ershov Date: Tue, 8 Sep 2015 19:29:19 +0300 Subject: [PATCH] fixed argument in call to {Input|Output}Array.getMat() --- modules/core/src/va_intel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/va_intel.cpp b/modules/core/src/va_intel.cpp index fe063a9..76aeb41 100644 --- a/modules/core/src/va_intel.cpp +++ b/modules/core/src/va_intel.cpp @@ -390,7 +390,7 @@ void convertToVASurface(VADisplay display, InputArray src, VASurfaceID surface, else # endif // HAVE_VA_INTEL && HAVE_OPENCL { - Mat m = src.getMat(ACCESS_READ); + Mat m = src.getMat(); // TODO Add support for roi CV_Assert(m.data == m.datastart); @@ -488,7 +488,7 @@ void convertFromVASurface(VADisplay display, VASurfaceID surface, Size size, Out else # endif // HAVE_VA_INTEL && HAVE_OPENCL { - Mat m = dst.getMat(ACCESS_WRITE); + Mat m = dst.getMat(); // TODO Add support for roi CV_Assert(m.data == m.datastart); -- 2.7.4