diff options
author | Dan Oscarsson <DanOscarsson@users.noreply.github.com> | 2017-02-02 10:53:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-03-25 15:04:05 +0100 |
commit | 5b75142a1dfed9fceacb43772378cbdc2d3dfb7c (patch) | |
tree | 472ca61ac90347f30413ad6a3589167e7eb87da9 /sub/sd.h | |
parent | 3e93c09cffeb2395d12d9c7c61f2c7b836f77789 (diff) | |
download | mpv-5b75142a1dfed9fceacb43772378cbdc2d3dfb7c.tar.bz2 mpv-5b75142a1dfed9fceacb43772378cbdc2d3dfb7c.tar.xz |
sub: add SDH subtitle filter
Add subtitle filter to remove additions for deaf or hard-of-hearing
(SDH). This is for English, but may in part work for others too.
This is an ASS filter and the intention is that it can always be
enabled as it by default do not remove parts that may be normal text.
Harder filtering can be enabled with an additional option.
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'sub/sd.h')
-rw-r--r-- | sub/sd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -50,4 +50,6 @@ char **lavc_conv_decode(struct lavc_conv *priv, struct demux_packet *packet); void lavc_conv_reset(struct lavc_conv *priv); void lavc_conv_uninit(struct lavc_conv *priv); +char *filter_SDH(struct sd *sd, char *format, int n_ignored, char *data, int length); + #endif |