Skip to content

Commit

Permalink
vaapi: set error if no video surfaces are available
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Sep 7, 2014
1 parent 24bf609 commit e3cbbd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp
Expand Up @@ -645,6 +645,7 @@ int CDecoder::FFGetBuffer(AVCodecContext *avctx, AVFrame *pic, int flags)
va->m_bufferStats.Get(decoded, processed, render, vpp);
CLog::Log(LOGERROR, "VAAPI::FFGetBuffer - no surface available - dec: %d, render: %d",
decoded, render);
va->m_DisplayState = VAAPI_ERROR;
return -1;
}

Expand Down

0 comments on commit e3cbbd7

Please sign in to comment.