Skip to content

Commit

Permalink
[mmalcodec] Prefer to return pictures when render queue is low
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Sep 4, 2015
1 parent dde7736 commit 0d6f717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ int CMMALVideo::Decode(uint8_t* pData, int iSize, double dts, double pts)
{
ret |= VC_PICTURE;
// renderer is low - give priority to returning pictures
if (0 && m_codecControlFlags & DVD_CODEC_CTRL_DRAIN)
if (m_codecControlFlags & DVD_CODEC_CTRL_DRAIN)
ret &= ~VC_BUFFER;
}
if (!ret)
Expand Down

0 comments on commit 0d6f717

Please sign in to comment.