From 22872451369fe219990c6280fc0d1c0c0c344b55 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Aug 2012 01:26:11 +0200 Subject: 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. --- sub/sub.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sub/sub.h') 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); -- cgit v1.2.3