diff options
-rw-r--r-- | libvo/vo_xvmc.c | 5 |
1 files changed, 4 insertions, 1 deletions
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{ |