changed call to getDefault: false to true in fallback initialization

This commit is contained in:
Alexey Ershov 2015-09-10 14:36:40 +03:00
parent e0b3751c17
commit 933ad0e710

View 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