diff options
author | Dudemanguy <random342@airmail.cc> | 2023-11-05 12:51:43 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-12-08 18:14:06 +0000 |
commit | ce958b77424327a30a3026c226a1db72f26e3543 (patch) | |
tree | 89cdf473787eb1b43055e73db5ffbb86d7cdfb5f /options/options.h | |
parent | b7d85f0d4a5330cb3f433cd0cb4c977e10a168f7 (diff) | |
download | mpv-ce958b77424327a30a3026c226a1db72f26e3543.tar.bz2 mpv-ce958b77424327a30a3026c226a1db72f26e3543.tar.xz |
filter_sdh: add --sub-filter-sdh-enclosures option
This filter is a bit complicated, but one of the essential parts of it
is removing text enclosed by particular set of characters (e.g. text
inbetween []). This was previously hardcoded to only take into account
parenthesis and brackets, but people may want to filter more things so
make this customizable. The option only takes "left hand characters" so
the right pair is mapped internally if applicable. If not, then we just
use the same character. Fixes #8268 since the unicode character in
question can just be passed to this option.
Diffstat (limited to 'options/options.h')
-rw-r--r-- | options/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h index 28a8c90adb..f1940266ca 100644 --- a/options/options.h +++ b/options/options.h @@ -123,6 +123,7 @@ struct mp_subtitle_opts { struct mp_sub_filter_opts { bool sub_filter_SDH; bool sub_filter_SDH_harder; + char *sub_filter_SDH_enclosures; bool rf_enable; bool rf_plain; char **rf_items; |