changed call to getDefault: false to true in fallback initialization
authorAlexey Ershov <user@example.com>
Thu, 10 Sep 2015 11:36:40 +0000 (14:36 +0300)
committerAlexey Ershov <user@example.com>
Thu, 10 Sep 2015 11:36:40 +0000 (14:36 +0300)
modules/core/src/va_intel.cpp

index 76aeb41..32fbb2d 100644 (file)
@@ -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