mirror of https://github.com/mpv-player/mpv
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:
parent
9f66514984
commit
e813588d75
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue