Mercurial > mplayer.hg
diff libvo/vo_gl.c @ 31792:55dacfca4a43
Rename libass types to match upstream libass >= 0.9.7
author | greg |
---|---|
date | Fri, 30 Jul 2010 18:14:35 +0000 |
parents | cc01d9cee8f0 |
children | 1c9d6499e37c |
line wrap: on
line diff
--- a/libvo/vo_gl.c Fri Jul 30 17:02:58 2010 +0000 +++ b/libvo/vo_gl.c Fri Jul 30 18:14:35 2010 +0000 @@ -313,11 +313,11 @@ eosdtex = NULL; } -static inline int is_tinytex(ass_image_t *i, int tinytexcur) { +static inline int is_tinytex(ASS_Image *i, int tinytexcur) { return i->w < TINYTEX_SIZE && i->h < TINYTEX_SIZE && tinytexcur < TINYTEX_MAX; } -static inline int is_smalltex(ass_image_t *i, int smalltexcur) { +static inline int is_smalltex(ASS_Image *i, int smalltexcur) { return i->w < SMALLTEX_SIZE && i->h < SMALLTEX_SIZE && smalltexcur < SMALLTEX_MAX; } @@ -336,14 +336,14 @@ * \param img image list to create OSD from. * A value of NULL has the same effect as clearEOSD() */ -static void genEOSD(mp_eosd_images_t *imgs) { +static void genEOSD(EOSD_ImageList *imgs) { int sx, sy; int tinytexcur = 0; int smalltexcur = 0; GLuint *curtex; GLint scale_type = scaled_osd ? GL_LINEAR : GL_NEAREST; - ass_image_t *img = imgs->imgs; - ass_image_t *i; + ASS_Image *img = imgs->imgs; + ASS_Image *i; if (imgs->changed == 0) // there are elements, but they are unchanged return;