mirror of
https://github.com/mpv-player/mpv
synced 2025-02-25 09:44:21 +00:00
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:
parent
ce1f6fbdb5
commit
e297a06ec9
@ -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 */
|
/* nothing will change its size, be we need some values initialized */
|
||||||
resize();
|
resize();
|
||||||
|
|
||||||
|
#ifdef USE_OSD
|
||||||
/* now init out own 'font' (to use vo_draw_text_sub without edit them) */
|
/* now init out own 'font' (to use vo_draw_text_sub without edit them) */
|
||||||
vo_font->spacewidth=1;
|
vo_font->spacewidth=1;
|
||||||
vo_font->charspace=0;
|
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_a[1]->bmp[i]=i;
|
||||||
vo_font->pic_b[1]->bmp[i]=i;
|
vo_font->pic_b[1]->bmp[i]=i;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
/* say hello */
|
/* say hello */
|
||||||
osdmessage(5, 1, "Welcome to ASCII ARTS MPlayer");
|
osdmessage(5, 1, "Welcome to ASCII ARTS MPlayer");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user