summaryrefslogtreecommitdiffstats
path: root/sub/sub.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-07 01:26:11 +0200
committerwm4 <wm4@nowhere>2012-08-07 01:29:56 +0200
commit22872451369fe219990c6280fc0d1c0c0c344b55 (patch)
treed65954cf2d3bf4e66c96a5cbb5ccebdc0305e3a4 /sub/sub.h
parentf3bb6692c728bd05f567fe1ca53902ec41bec235 (diff)
downloadmpv-22872451369fe219990c6280fc0d1c0c0c344b55.tar.bz2
mpv-22872451369fe219990c6280fc0d1c0c0c344b55.tar.xz
VO: remove old VO glue
This transition to a new VO API started over 4 years ago. It's time to finally end it, and get rid of the horrible hacks. Also removes some previously undetected dead code from spudec.c.
Diffstat (limited to 'sub/sub.h')
-rw-r--r--sub/sub.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sub/sub.h b/sub/sub.h
index 35f213d2db..de8fbc6487 100644
--- a/sub/sub.h
+++ b/sub/sub.h
@@ -175,11 +175,6 @@ void osd_free(struct osd_state *osd);
void osd_set_nav_box (uint16_t sx, uint16_t sy, uint16_t ex, uint16_t ey);
#endif
-
-#ifdef IS_OLD_VO
-#define vo_remove_text(...) osd_remove_text(global_osd, __VA_ARGS__)
-#endif
-
// used only by osd_ft.c or osd_libass.c
void osd_alloc_buf(mp_osd_obj_t* obj);
void vo_draw_text_from_buffer(mp_osd_obj_t* obj,void (*draw_alpha)(void *ctx, int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride), void *ctx);