# HG changeset patch # User iive # Date 1135105457 0 # Node ID 71743066849605804334f8cd1a606e57a562fa5e # Parent c2b50fc5d86a92112a768fd7d6a55d85a8ae4ea3 Print some error message, as this function seems to fail on AMD64 and current NVidia drivers (8174) for unknow reason diff -r c2b50fc5d86a -r 717430668496 libvo/vo_xvmc.c --- 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{