# HG changeset patch # User iive # Date 1362919605 0 # Node ID 1994a2fd15f4da8cff3085d407d1ca60fcab33e2 # Parent 1dbf7d79a3e015c3aa0254d0d35bd2bd4f9ea1c7 Add debug output for XvMCCreateContext() function parameters. diff -r 1dbf7d79a3e0 -r 1994a2fd15f4 libvo/vo_xvmc.c --- a/libvo/vo_xvmc.c Sun Mar 10 12:30:54 2013 +0000 +++ b/libvo/vo_xvmc.c Sun Mar 10 12:46:45 2013 +0000 @@ -509,6 +509,9 @@ return -1; } + mp_msg(MSGT_VO,MSGL_DBG4, "vo_xvmc: XvMCCreateContext(mDisplay %p, xv_port=%d, mode_id=0x%08x, width=%d, height=%d, XVMC_DIRECT=%d,ctx=%p)\n", + mDisplay, xv_port,mode_id,width,height,XVMC_DIRECT,&ctx); + rez = XvMCCreateContext(mDisplay, xv_port,mode_id,width,height,XVMC_DIRECT,&ctx); if( rez != Success ){ mp_msg(MSGT_VO,MSGL_ERR,"vo_xvmc: XvMCCreateContext failed with error %d\n",rez);