From 41650203c32e179e5f3cf89e176ef6caccba05d9 Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Fri, 23 Jul 2021 20:31:15 +0300 Subject: sub: sub-filter-regex and jsre: support ass-to-plaintext Using --sub-filter-regex-plain (default:no) The ass-to-plaintext functionality already existed at sd_ass.c, but it's internal and uses a private buffer type, so a trivial utility wrapper was added with standard char*/bstr interface. The plaintext can be multi-line, and the multi-line regexp flag is now always set, but only affects plaintext (the ASS source is one line). --- options/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 7963d6bd28..f3c8e318e8 100644 --- a/options/options.h +++ b/options/options.h @@ -114,6 +114,7 @@ struct mp_sub_filter_opts { int sub_filter_SDH; int sub_filter_SDH_harder; int rf_enable; + int rf_plain; char **rf_items; char **jsre_items; int rf_warn; -- cgit v1.2.3