summaryrefslogtreecommitdiffstats
path: root/sub/sub.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-22 16:15:52 +0200
committerwm4 <wm4@nowhere>2012-10-24 21:56:35 +0200
commit2afd7ebb4e96b91cc552fff5badf237dadb28212 (patch)
treec3c9d2dada28a42ceaa7cbaa293bb24ac622fe73 /sub/sub.c
parente1e056fe5d5510bc8c7d70333b9f46fb656a581d (diff)
downloadmpv-2afd7ebb4e96b91cc552fff5badf237dadb28212.tar.bz2
mpv-2afd7ebb4e96b91cc552fff5badf237dadb28212.tar.xz
options: remove subtitle related options that did nothing
Most of these cased working when the OSD was switched to libass, or didn't do anything even before that. Also don't recursively include subreader.h in sub.h.
Diffstat (limited to 'sub/sub.c')
-rw-r--r--sub/sub.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sub/sub.c b/sub/sub.c
index 8281081334..04fbcd877c 100644
--- a/sub/sub.c
+++ b/sub/sub.c
@@ -39,6 +39,7 @@
#include "img_convert.h"
#include "draw_bmp.h"
#include "spudec.h"
+#include "subreader.h"
char * const sub_osd_names[]={
@@ -58,21 +59,12 @@ char * const sub_osd_names[]={
};
char * const sub_osd_names_short[] ={ "", "|>", "||", "[]", "<<" , ">>", "", "", "", "", "", "", "" };
-int sub_unicode=0;
int sub_utf8=0;
int sub_pos=100;
-int sub_width_p=100;
int sub_visibility=1;
-int sub_bg_color=0; /* subtitles background color */
-int sub_bg_alpha=0;
-int sub_justify=0;
subtitle* vo_sub=NULL;
-char *subtitle_font_encoding = NULL;
float text_font_scale_factor = 3.5;
-float osd_font_scale_factor = 4.0;
-float subtitle_font_radius = 2.0;
-float subtitle_font_thickness = 2.0;
// 0 = no autoscale
// 1 = video height
// 2 = video width