diff options
author | Dan Oscarsson <DanOscarsson@users.noreply.github.com> | 2017-02-01 13:19:09 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-02-01 16:42:58 +0100 |
commit | f1c9032ddf5eba1241d9616656b4c36bc4043283 (patch) | |
tree | 6c7e84dbca6d3631ac4330ed32987eb609deab8c /options/options.c | |
parent | bbf01346ff684f0f6a8cc8489b00920956dc16eb (diff) |
sub: add justify of subtitles
To make it easier for the eyes, multi line subtitles should
be left justified (for most languages).
This adds an option to define how subtitles are to be justified
inpendently of how they are aligned.
Also add option to enable --sub-justify to be applied on ASS subtitles.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 6547f06074..5166ef6940 100644 --- a/options/options.c +++ b/options/options.c @@ -500,6 +500,7 @@ const m_option_t mp_opts[] = { ({"none", 0}, {"light", 1}, {"normal", 2}, {"native", 3})), OPT_CHOICE("sub-ass-shaper", ass_shaper, UPDATE_OSD, ({"simple", 0}, {"complex", 1})), + OPT_FLAG("sub-ass-justify", ass_justify, 0), OPT_CHOICE("sub-ass-style-override", ass_style_override, UPDATE_OSD, ({"no", 0}, {"yes", 1}, {"force", 3}, {"signfs", 4}, {"strip", 5})), OPT_FLAG("sub-scale-by-window", sub_scale_by_window, UPDATE_OSD), |