Commit 0ddc5d27 authored by Jean-Paul Saman's avatar Jean-Paul Saman

VAAPI: We can use less GPU surfaces.

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