diff options
author | wm4 <wm4@nowhere> | 2013-01-04 16:10:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-05 14:11:56 +0100 |
commit | ca9c81b0d30d630a950a0d830fe8d98ab0131eef (patch) | |
tree | 3b64d4f54f0f1c2624662bc40504c3ca5b002959 /sub/ass_mp.c | |
parent | e65778ca6caa3b539877e43471481aa8c2387ebe (diff) | |
download | mpv-ca9c81b0d30d630a950a0d830fe8d98ab0131eef.tar.bz2 mpv-ca9c81b0d30d630a950a0d830fe8d98ab0131eef.tar.xz |
sub: add --sub-text-* options to unstyled text subtitles font
Before this commit, the --osd-* options (like --osd-font-size etc.)
configured both the OSD and subtitle font. Make them separate, and add
--sub-text-* options (like --sub-text-size etc.). Now --osd-* affects
the OSD font only, and --sub-text-* unstyled text subtitles only.
Diffstat (limited to 'sub/ass_mp.c')
-rw-r--r-- | sub/ass_mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/ass_mp.c b/sub/ass_mp.c index 44f01ac186..ae069662c6 100644 --- a/sub/ass_mp.c +++ b/sub/ass_mp.c @@ -90,7 +90,7 @@ ASS_Track *mp_ass_default_track(ASS_Library *library, struct MPOpts *opts) ASS_Style *style = track->styles + sid; style->Name = strdup("Default"); style->Alignment = 2; - mp_ass_set_style(style, opts->osd_style); + mp_ass_set_style(style, opts->sub_text_style); } if (opts->ass_style_override) |