mirror of https://github.com/mpv-player/mpv
vo_debug printfs...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@488 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
98695db99b
commit
37dc69e965
11
mplayer.c
11
mplayer.c
|
@ -945,8 +945,11 @@ if(!sh_video->codec){
|
|||
printf("Found video codec: [%s] drv:%d (%s)\n",sh_video->codec->name,sh_video->codec->driver,sh_video->codec->info);
|
||||
|
||||
for(i=0;i<CODECS_MAX_OUTFMT;i++){
|
||||
int ret;
|
||||
out_fmt=sh_video->codec->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 @@ if(i>=CODECS_MAX_OUTFMT){
|
|||
}
|
||||
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 @@ switch(sh_video->codec->driver){
|
|||
}
|
||||
}
|
||||
|
||||
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 @@ make_pipe(&keyb_fifo_get,&keyb_fifo_put);
|
|||
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),
|
||||
|
|
Loading…
Reference in New Issue