From 85a3a0d5bc1294f88dea42a515bb3dce16c9d951 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 28 Jul 2012 22:00:31 +0200 Subject: osd: remove freetype font rendering code The previous commit made libass the default OSD renderer. This commit removes the disabled freetype renderer completely. The commits were done separately to make rolling back easier, because using libass for OSD rendering is a risky choice. Also remove freetype/fontconfig/fribidi code. This is all done by libass now. If mplayer is compiled without libass, no OSD is displayed. --- sub/osd_dummy.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 sub/osd_dummy.c (limited to 'sub/osd_dummy.c') diff --git a/sub/osd_dummy.c b/sub/osd_dummy.c new file mode 100644 index 0000000000..ff40c19301 --- /dev/null +++ b/sub/osd_dummy.c @@ -0,0 +1,43 @@ +#include +#include +#include + +#include "config.h" +#include "talloc.h" +#include "sub.h" + +void vo_update_text_osd(struct osd_state *osd, mp_osd_obj_t *obj) +{ +} + +void vo_update_text_teletext(struct osd_state *osd, mp_osd_obj_t *obj) +{ +} + +void vo_update_text_progbar(struct osd_state *osd, mp_osd_obj_t *obj) +{ +} + +void vo_update_text_sub(struct osd_state *osd, mp_osd_obj_t *obj) +{ +} + +void osd_init_backend(struct osd_state *osd) +{ +} + +void osd_destroy_backend(struct osd_state *osd) +{ +} + +void osd_font_invalidate(void) +{ +} + +void osd_font_load(struct osd_state *osd) +{ +} + +void osd_get_function_sym(char *buffer, size_t buffer_size, int osd_function) +{ +} -- cgit v1.2.3