diff options
author | wm4 <wm4@nowhere> | 2020-05-14 22:14:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-14 22:14:49 +0200 |
commit | c6369933f1d9cd204b09be95ef7d4ed1351610e2 (patch) | |
tree | d7b45307780aef2dafde89795f49d564c7aed313 /sub/sd.h | |
parent | 0049ea38be72884fabeee3ce52e2d6796c3abd53 (diff) | |
download | mpv-c6369933f1d9cd204b09be95ef7d4ed1351610e2.tar.bz2 mpv-c6369933f1d9cd204b09be95ef7d4ed1351610e2.tar.xz |
command: add property to return text subtitles in ASS
See manpage additions. This was requested, sort of. Although what has
been requested might be something completely different. So this is
speculative.
This also changes sub_get_text() to return an allocated copy, because
the buffer shit was too damn messy.
Diffstat (limited to 'sub/sd.h')
-rw-r--r-- | sub/sd.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ struct sd_functions { struct sub_bitmaps *(*get_bitmaps)(struct sd *sd, struct mp_osd_res dim, int format, double pts); - char *(*get_text)(struct sd *sd, double pts); + char *(*get_text)(struct sd *sd, double pts, enum sd_text_type type); struct sd_times (*get_times)(struct sd *sd, double pts); }; |