From 933ad0e710e538e7b223a55fe14faf8832c187e6 Mon Sep 17 00:00:00 2001 From: Alexey Ershov Date: Thu, 10 Sep 2015 14:36:40 +0300 Subject: [PATCH] changed call to getDefault: false to true in fallback initialization --- modules/core/src/va_intel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/va_intel.cpp b/modules/core/src/va_intel.cpp index 76aeb41..32fbb2d 100644 --- a/modules/core/src/va_intel.cpp +++ b/modules/core/src/va_intel.cpp @@ -142,7 +142,7 @@ Context& initializeContextFromVA(VADisplay display, bool tryInterop) } # endif // HAVE_VA_INTEL && HAVE_OPENCL { - Context& ctx = Context::getDefault(false); + Context& ctx = Context::getDefault(true); return ctx; } #endif // !HAVE_VA -- 2.7.4