changeset 7918:8f1ae92c7586

debug ize
author arpi
date Fri, 25 Oct 2002 16:48:53 +0000
parents 5ae8a326a31b
children b8acdbfd0882
files libmpcodecs/vd.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd.c	Fri Oct 25 16:39:44 2002 +0000
+++ b/libmpcodecs/vd.c	Fri Oct 25 16:48:53 2002 +0000
@@ -171,8 +171,10 @@
 	if((flags&2) || (flags && j<0)){
 	    // check (query) if codec really support this outfmt...
 	    sh->outfmtidx=j; // pass index to the control() function this way
-	    if(mpvdec->control(sh,VDCTRL_QUERY_FORMAT,&out_fmt)==CONTROL_FALSE)
+	    if(mpvdec->control(sh,VDCTRL_QUERY_FORMAT,&out_fmt)==CONTROL_FALSE){
+		mp_msg(MSGT_CPLAYER,MSGL_DBG2,"vo_debug: codec query_format(%s) returned FALSE\n",vo_format_name(out_fmt));
 		continue;
+	    }
 	    j=i; vo_flags=flags; if(flags&2) break;
 	}
     }