diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-05-24 20:48:45 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-05-24 20:48:45 +0000 |
commit | 6daab845eac976d0b342fa9a3be954b64d5c09aa (patch) | |
tree | 838df4334883747046ba2fa7f3dac934cb5b118e /libvo/sub.h | |
parent | f3e7f4bd5f49b2bd6ccf2d1256ac8211b55176cd (diff) | |
download | mpv-6daab845eac976d0b342fa9a3be954b64d5c09aa.tar.bz2 mpv-6daab845eac976d0b342fa9a3be954b64d5c09aa.tar.xz |
removed redundant osd.h includes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@866 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/sub.h')
-rw-r--r-- | libvo/sub.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/libvo/sub.h b/libvo/sub.h index 8467cdd9a6..ca4863f6e1 100644 --- a/libvo/sub.h +++ b/libvo/sub.h @@ -2,6 +2,14 @@ #ifndef __MPLAYER_SUB_H #define __MPLAYER_SUB_H +#if 0 + +// disable subtitles: +static inline void vo_draw_text_osd(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)){ +} + +#else + #include "../subreader.h" extern font_desc_t* vo_font; @@ -31,8 +39,9 @@ extern subtitle* vo_sub; #define OSD_PB_1 0x13 extern void vo_draw_text_osd(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); -extern void vo_draw_text_progbar(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); -extern void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); -extern void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); +//extern void vo_draw_text_progbar(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); +//extern void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); +//extern void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); #endif +#endif |