Skip to content

Commit

Permalink
[vda] change open failure to log if was due hogging by another process
Browse files Browse the repository at this point in the history
  • Loading branch information
davilla committed Mar 4, 2011
1 parent 582c789 commit a1bac03
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecVDA.cpp
Expand Up @@ -566,8 +566,12 @@ bool CDVDVideoCodecVDA::Open(CDVDStreamInfo &hints, CDVDCodecOptions &options)
CFRelease(destinationImageBufferAttributes);
if (status != kVDADecoderNoErr)
{
CLog::Log(LOGNOTICE, "%s - VDADecoder Codec failed to open, status(%d), profile(%d), level(%d)",
__FUNCTION__, (int)status, profile, level);
if (status == kVDADecoderDecoderFailedErr)
CLog::Log(LOGNOTICE, "%s - VDADecoder Codec failed to open, currently in use by another process",
__FUNCTION__);
else
CLog::Log(LOGNOTICE, "%s - VDADecoder Codec failed to open, status(%d), profile(%d), level(%d)",
__FUNCTION__, (int)status, profile, level);
return false;
}

Expand Down

0 comments on commit a1bac03

Please sign in to comment.