Commit 933ad0e7 authored by Alexey Ershov's avatar Alexey Ershov

changed call to getDefault: false to true in fallback initialization

parent e0b3751c
...@@ -142,7 +142,7 @@ Context& initializeContextFromVA(VADisplay display, bool tryInterop) ...@@ -142,7 +142,7 @@ Context& initializeContextFromVA(VADisplay display, bool tryInterop)
} }
# endif // HAVE_VA_INTEL && HAVE_OPENCL # endif // HAVE_VA_INTEL && HAVE_OPENCL
{ {
Context& ctx = Context::getDefault(false); Context& ctx = Context::getDefault(true);
return ctx; return ctx;
} }
#endif // !HAVE_VA #endif // !HAVE_VA
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment