Mercurial > mplayer.hg
comparison libvo/vo_vesa.c @ 4002:6ce744b637ad
paint background on -v -v
author | nick |
---|---|
date | Sun, 06 Jan 2002 10:58:04 +0000 |
parents | 0b172eb639f1 |
children | 922241968c63 |
comparison
equal
deleted
inserted
replaced
4001:ae6f97724b84 | 4002:6ce744b637ad |
---|---|
884 if(HAS_DGA() && vo_doublebuffering) | 884 if(HAS_DGA() && vo_doublebuffering) |
885 { | 885 { |
886 for(i=0;i<MAX_BUFFERS;i++) | 886 for(i=0;i<MAX_BUFFERS;i++) |
887 { | 887 { |
888 win.ptr = dga_buffer = video_base + multi_buff[i]; | 888 win.ptr = dga_buffer = video_base + multi_buff[i]; |
889 if(verbose) paintBkGnd(); | 889 if(verbose>1) paintBkGnd(); |
890 } | 890 } |
891 } | 891 } |
892 else | 892 else |
893 { | 893 { |
894 if(verbose) paintBkGnd(); | 894 if(verbose>1) paintBkGnd(); |
895 { | 895 { |
896 int x; | 896 int x; |
897 x = (video_mode_info.XResolution/video_mode_info.XCharSize)/2-strlen(title)/2; | 897 x = (video_mode_info.XResolution/video_mode_info.XCharSize)/2-strlen(title)/2; |
898 if(x < 0) x = 0; | 898 if(x < 0) x = 0; |
899 vbeWriteString(x,0,7,title); | 899 vbeWriteString(x,0,7,title); |