diff options
author | Jan Ekström <jeebjp@gmail.com> | 2019-09-18 21:26:05 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-09-19 00:02:03 +0300 |
commit | 1b9370ff92a7fdf347d087db7c29bf682abadb9e (patch) | |
tree | 644772429f2d9dfd73b64ffd9f1bfcbd22c37e79 /sub/sd.h | |
parent | 80c4aaa2a4e7ada6530ad4f16172283cd82fcc1d (diff) | |
download | mpv-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |