summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-28 10:08:55 +0000
committerranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-28 10:08:55 +0000
commite6136f255d5940b50161dd6221eb47db0b317e41 (patch)
tree92a4e23614226561bdcf77b29520a6637e9f57dd /libvo
parentb894d870ab2d4302d0ccc5da001e061e6626eb22 (diff)
downloadmpv-e6136f255d5940b50161dd6221eb47db0b317e41.tar.bz2
mpv-e6136f255d5940b50161dd6221eb47db0b317e41.tar.xz
Only write title if verbose>0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9715 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vesa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c
index 175e2dcea8..65d326bd15 100644
--- a/libvo/vo_vesa.c
+++ b/libvo/vo_vesa.c
@@ -985,11 +985,12 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
else
{
clear_screen(); /* Clear screen for stupid BIOSes */
- if(verbose>1) paintBkGnd();
+ if(verbose>1)
{
int x;
x = (video_mode_info.XResolution/video_mode_info.XCharSize)/2-strlen(title)/2;
if(x < 0) x = 0;
+ paintBkGnd();
vbeWriteString(x,0,7,title);
}
}