From 2308b3a2a6e78c980a568320a44367e394a05238 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Feb 2015 20:04:15 +0100 Subject: sub: mess with styling defaults, change --ass-use-margins behavior Now --ass-use-margins doesn't apply to normal subtitles anymore. This is probably the inverse from the mpv behavior users expected so far, and thus a breaking change, so rename the option, that the user at least has a chance to lookup the option and decide whether the new behavior is wanted or not. The basic idea here is: - plain text subtitles should have a certain useful defalt behavior, like actually using margins - ASS subtitles should never be broken by default - ASS subtitles should look and behave like plaintext subtitles if the --ass-style-override=force option is used This also subtly changes --sub-scale-with-window and adds the --ass- scale-with-window option. Since this one isn't so important, don't bother with compatibility. --- sub/ass_mp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub/ass_mp.h') diff --git a/sub/ass_mp.h b/sub/ass_mp.h index 86c5c7ff0a..4e5cc88554 100644 --- a/sub/ass_mp.h +++ b/sub/ass_mp.h @@ -53,7 +53,7 @@ void mp_ass_add_default_styles(ASS_Track *track, struct MPOpts *opts); ASS_Track *mp_ass_default_track(ASS_Library *library, struct MPOpts *opts); struct MPOpts; -void mp_ass_configure(ASS_Renderer *priv, struct MPOpts *opts, +void mp_ass_configure(ASS_Renderer *priv, struct MPOpts *opts, bool is_ass, struct mp_osd_res *dim); void mp_ass_configure_fonts(ASS_Renderer *priv, struct osd_style_opts *opts, struct mpv_global *global, struct mp_log *log); -- cgit v1.2.3