Skip to content

Commit

Permalink
renderer: bump number of buffers for vdpau and vaapi
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Sep 21, 2014
1 parent 13778a1 commit b51c2c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
Expand Up @@ -3500,6 +3500,11 @@ unsigned int CLinuxRendererGL::GetOptimalBufferSize()
{
if(m_format == RENDER_FMT_CVBREF)
return 2;
else if (m_format == RENDER_FMT_VAAPI ||
m_format == RENDER_FMT_VAAPINV12 ||
m_format == RENDER_FMT_VDPAU ||
m_format == RENDER_FMT_VDPAU_420)
return 5;
else
return 3;
}
Expand Down

0 comments on commit b51c2c7

Please sign in to comment.