From bab429870e63bc13bc7583c2eba66f93cfd768a2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Feb 2013 16:15:50 +0100 Subject: vo_caca: remove OSD support Recent changes to the OSD code made vo_caca crash when showing OSD. Since this is a joke VO (== I'd rather not waste my time with it), remove the OSD support. It wasn't that great anyway. --- sub/sub.c | 18 ------------------ sub/sub.h | 4 ---- 2 files changed, 22 deletions(-) (limited to 'sub') diff --git a/sub/sub.c b/sub/sub.c index 2ec2207870..73b446cd91 100644 --- a/sub/sub.c +++ b/sub/sub.c @@ -42,24 +42,6 @@ #include "video/mp_image.h" #include "video/mp_image_pool.h" - -char * const sub_osd_names[]={ - _("Seekbar"), - _("Play"), - _("Pause"), - _("Stop"), - _("Rewind"), - _("Forward"), - _("Clock"), - _("Contrast"), - _("Saturation"), - _("Volume"), - _("Brightness"), - _("Hue"), - _("Balance") -}; -char * const sub_osd_names_short[] ={ "", "|>", "||", "[]", "<<" , ">>", "", "", "", "", "", "", "" }; - int sub_pos=100; int sub_visibility=1; diff --git a/sub/sub.h b/sub/sub.h index b1059819ee..2055799d72 100644 --- a/sub/sub.h +++ b/sub/sub.h @@ -191,10 +191,6 @@ struct osd_style_opts { extern const struct m_sub_options osd_style_conf; -/* now in textform */ -extern char * const sub_osd_names[]; -extern char * const sub_osd_names_short[]; - extern char *sub_cp; extern int sub_pos; -- cgit v1.2.3