From e813588d75f6e65f184b8c16c04596b9790c242a Mon Sep 17 00:00:00 2001 From: iive Date: Tue, 20 Dec 2005 19:04:17 +0000 Subject: [PATCH] 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 --- libvo/vo_xvmc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index 1fa98d9382..c2f452b31a 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -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{