Print some error message,

as this function seems to fail on AMD64 and current NVidia drivers (8174) for unknow reason


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17229 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
iive 2005-12-20 19:04:17 +00:00
parent 9f66514984
commit e813588d75
1 changed files with 4 additions and 1 deletions

View File

@ -450,7 +450,10 @@ static uint32_t vm_height;
}
rez = XvMCCreateContext(mDisplay, xv_port,mode_id,width,height,XVMC_DIRECT,&ctx);
if( rez != Success ) return -1;
if( rez != Success ){
printf("vo_xvmc: XvMCCreateContext failed with error %d\n",rez);
return -1;
}
if( ctx.flags & XVMC_DIRECT ){
printf("vo_xvmc: Allocated Direct Context\n");
}else{