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

VAAPI: the video output needs at least 20 pictures.

parent e7d54311
......@@ -235,7 +235,7 @@ static int CalculateSurfaceCount( const int i_codec_id )
return -1;
}
return i_count * 2;
return 20 /* VOUT_MAX_PICTURES */ + i_count * 2;
}
/* */
......
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