summaryrefslogtreecommitdiffstats
path: root/sub/sd.h
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2019-09-18 21:26:05 +0300
committerJan Ekström <jeebjp@gmail.com>2019-09-19 00:02:03 +0300
commit1b9370ff92a7fdf347d087db7c29bf682abadb9e (patch)
tree644772429f2d9dfd73b64ffd9f1bfcbd22c37e79 /sub/sd.h
parent80c4aaa2a4e7ada6530ad4f16172283cd82fcc1d (diff)
downloadmpv-1b9370ff92a7fdf347d087db7c29bf682abadb9e.tar.bz2
mpv-1b9370ff92a7fdf347d087db7c29bf682abadb9e.tar.xz
sub/lavc_conv: switch to the newer "ass" subtitle decoding mode
Existing since 2016, this removes timestamps from the lines, and gives more precision in the timestamps (1:1000).
Diffstat (limited to 'sub/sd.h')
-rw-r--r--sub/sd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sub/sd.h b/sub/sd.h
index 8c975959a8..0c4dd3465b 100644
--- a/sub/sd.h
+++ b/sub/sd.h
@@ -46,7 +46,8 @@ struct lavc_conv;
struct lavc_conv *lavc_conv_create(struct mp_log *log, const char *codec_name,
char *extradata, int extradata_len);
char *lavc_conv_get_extradata(struct lavc_conv *priv);
-char **lavc_conv_decode(struct lavc_conv *priv, struct demux_packet *packet);
+char **lavc_conv_decode(struct lavc_conv *priv, struct demux_packet *packet,
+ double *sub_pts, double *sub_duration);
void lavc_conv_reset(struct lavc_conv *priv);
void lavc_conv_uninit(struct lavc_conv *priv);