diff options
author | wm4 <wm4@nowhere> | 2013-06-30 18:46:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-15 02:01:37 +0200 |
commit | 169b3abd788ac566b4ba831bbcc0dfd3c8981fd0 (patch) | |
tree | bfe9b13a37a4b52ec2fcac324d81a28dc8096fa4 /core | |
parent | af55db654b9156879b89d92306a17fb847713792 (diff) |
sd_ass: scale blur by original video size if requested
Diffstat (limited to 'core')
-rw-r--r-- | core/options.c | 2 | ||||
-rw-r--r-- | core/options.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/core/options.c b/core/options.c index 09b2f4aad6..1eeb2e6914 100644 --- a/core/options.c +++ b/core/options.c @@ -502,6 +502,7 @@ const m_option_t mp_opts[] = { OPT_FLAG("ass-vsfilter-aspect-compat", ass_vsfilter_aspect_compat, 0), OPT_CHOICE("ass-vsfilter-color-compat", ass_vsfilter_color_compat, 0, ({"no", 0}, {"basic", 1}, {"full", 2}, {"force-601", 3})), + OPT_FLAG("ass-vsfilter-blur-compat", ass_vsfilter_blur_compat, 0), OPT_FLAG("embeddedfonts", use_embedded_fonts, 0), OPT_STRINGLIST("ass-force-style", ass_force_style_list, 0), OPT_STRING("ass-styles", ass_styles_file, 0), @@ -794,6 +795,7 @@ const struct MPOpts mp_default_opts = { .sub_scale = 1, .ass_vsfilter_aspect_compat = 1, .ass_vsfilter_color_compat = 1, + .ass_vsfilter_blur_compat = 1, .ass_style_override = 1, .use_embedded_fonts = 1, .suboverlap_enabled = 0, diff --git a/core/options.h b/core/options.h index cfc786262e..8fe6c231b1 100644 --- a/core/options.h +++ b/core/options.h @@ -191,6 +191,7 @@ typedef struct MPOpts { int ass_use_margins; int ass_vsfilter_aspect_compat; int ass_vsfilter_color_compat; + int ass_vsfilter_blur_compat; int use_embedded_fonts; char **ass_force_style_list; char *ass_styles_file; |