Mercurial > mplayer.hg
changeset 17228:717430668496
Print some error message,
as this function seems to fail on AMD64 and current NVidia drivers (8174) for unknow reason
author | iive |
---|---|
date | Tue, 20 Dec 2005 19:04:17 +0000 |
parents | c2b50fc5d86a |
children | 3d1e861b34be |
files | libvo/vo_xvmc.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_xvmc.c Tue Dec 20 17:38:43 2005 +0000 +++ b/libvo/vo_xvmc.c Tue Dec 20 19:04:17 2005 +0000 @@ -450,7 +450,10 @@ } 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{