Commit a13f7c31 authored by Jean-Paul Saman's avatar Jean-Paul Saman

VAAPI: relax assert() it was to stringent and only let H264 pass.

Some codecs need less surfaces then 30. Relax the assert() to allow
other HW codecs too work too.
parent e06cac46
......@@ -125,7 +125,7 @@ static int Open( vlc_va_vaapi_t *p_va, int i_codec_id, int i_count )
int i_needed = __MAX(i_surface_count, i_count);
i_surface_count += i_needed;
assert( i_surface_count >= 30 );
assert( i_surface_count >= 23 );
/* */
memset( p_va, 0, sizeof(*p_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