Commit 6adc3961 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

VAAPI: call XInitThreads() before XOpenDisplay()

parent c3ad841b
......@@ -444,6 +444,9 @@ static void Delete( vlc_va_t *p_external )
/* */
vlc_va_t *vlc_va_NewVaapi( int i_codec_id )
{
if( !XInitThreads() )
return NULL;
vlc_va_vaapi_t *p_va = calloc( 1, sizeof(*p_va) );
if( !p_va )
return NULL;
......
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