define USE_OSD / USE_SUB fixes

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1555 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
folke 2001-08-16 15:36:12 +00:00
parent ce1f6fbdb5
commit e297a06ec9
1 changed files with 2 additions and 1 deletions

View File

@ -298,6 +298,7 @@ init(uint32_t width, uint32_t height, uint32_t d_width,
/* nothing will change its size, be we need some values initialized */
resize();
#ifdef USE_OSD
/* now init out own 'font' (to use vo_draw_text_sub without edit them) */
vo_font->spacewidth=1;
vo_font->charspace=0;
@ -313,7 +314,7 @@ init(uint32_t width, uint32_t height, uint32_t d_width,
vo_font->pic_a[1]->bmp[i]=i;
vo_font->pic_b[1]->bmp[i]=i;
};
#endif
/* say hello */
osdmessage(5, 1, "Welcome to ASCII ARTS MPlayer");