# HG changeset patch # User arpi_esp # Date 987532635 0 # Node ID 5dd417ed3a216e7e852b27c82c435156ba08160b # Parent 4f52aa06f0fc176b4e611dd12a73e9378dc13fe3 vo_debug printfs... diff -r 4f52aa06f0fc -r 5dd417ed3a21 mplayer.c --- a/mplayer.c Tue Apr 17 17:43:40 2001 +0000 +++ b/mplayer.c Tue Apr 17 18:37:15 2001 +0000 @@ -945,8 +945,11 @@ printf("Found video codec: [%s] drv:%d (%s)\n",sh_video->codec->name,sh_video->codec->driver,sh_video->codec->info); for(i=0;icodec->outfmt[i]; - if(video_out->query_format(out_fmt)) break; + ret=video_out->query_format(out_fmt); + if(verbose) printf("vo_debug: query(0x%X) returned 0x%X\n",out_fmt,ret); + if(ret) break; } if(i>=CODECS_MAX_OUTFMT){ printf("Sorry, selected video_out device is incompatible with this codec.\n"); @@ -954,6 +957,8 @@ } sh_video->outfmtidx=i; +if(verbose) printf("vo_debug1: out_fmt=0x%08X\n",out_fmt); + switch(sh_video->codec->driver){ case 2: { if(!init_video_codec(out_fmt)) exit(1); @@ -1025,6 +1030,8 @@ } } +if(verbose) printf("vo_debug2: out_fmt=0x%08X\n",out_fmt); + // ================== Init output files for encoding =============== if(encode_name){ // encode file!!! @@ -1109,6 +1116,8 @@ fullscreen|(vidmode<<1)|(softzoom<<2), title,out_fmt); +if(verbose) printf("vo_debug3: out_fmt=0x%08X\n",out_fmt); + if(video_out->init(sh_video->disp_w,sh_video->disp_h, screen_size_x,screen_size_y, fullscreen|(vidmode<<1)|(softzoom<<2),