changeset 35846:1994a2fd15f4

Add debug output for XvMCCreateContext() function parameters.
author iive
date Sun, 10 Mar 2013 12:46:45 +0000
parents 1dbf7d79a3e0
children 25af0fce844f
files libvo/vo_xvmc.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);