comparison libmpcodecs/vd.c @ 7918:8f1ae92c7586

debug ize
author arpi
date Fri, 25 Oct 2002 16:48:53 +0000
parents daeb5f93ce82
children b6d3ada27931
comparison
equal deleted inserted replaced
7917:5ae8a326a31b 7918:8f1ae92c7586
169 flags=vf->query_format(vf,out_fmt); 169 flags=vf->query_format(vf,out_fmt);
170 mp_msg(MSGT_CPLAYER,MSGL_DBG2,"vo_debug: query(%s) returned 0x%X (i=%d) \n",vo_format_name(out_fmt),flags,i); 170 mp_msg(MSGT_CPLAYER,MSGL_DBG2,"vo_debug: query(%s) returned 0x%X (i=%d) \n",vo_format_name(out_fmt),flags,i);
171 if((flags&2) || (flags && j<0)){ 171 if((flags&2) || (flags && j<0)){
172 // check (query) if codec really support this outfmt... 172 // check (query) if codec really support this outfmt...
173 sh->outfmtidx=j; // pass index to the control() function this way 173 sh->outfmtidx=j; // pass index to the control() function this way
174 if(mpvdec->control(sh,VDCTRL_QUERY_FORMAT,&out_fmt)==CONTROL_FALSE) 174 if(mpvdec->control(sh,VDCTRL_QUERY_FORMAT,&out_fmt)==CONTROL_FALSE){
175 mp_msg(MSGT_CPLAYER,MSGL_DBG2,"vo_debug: codec query_format(%s) returned FALSE\n",vo_format_name(out_fmt));
175 continue; 176 continue;
177 }
176 j=i; vo_flags=flags; if(flags&2) break; 178 j=i; vo_flags=flags; if(flags&2) break;
177 } 179 }
178 } 180 }
179 if(j<0){ 181 if(j<0){
180 // TODO: no match - we should use conversion... 182 // TODO: no match - we should use conversion...