Skip to content

Commit

Permalink
vdpau: reduce number of render pics to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Sep 22, 2013
1 parent eb2bc77 commit db6ba05
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@
#include "cores/VideoRenderers/RenderFlags.h"

using namespace VDPAU;
#define NUM_RENDER_PICS 9

// we use GetAllowedReferences() - 1 output surfaces
// this has the result that we won't wait for a free render buffer
// in RenderManager::WaitForBuffer
// instead we keep vdpau busy
#define NUM_RENDER_PICS 4

#define ARSIZE(x) (sizeof(x) / sizeof((x)[0]))

Expand Down

0 comments on commit db6ba05

Please sign in to comment.