0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

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

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{