diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2019-09-21 20:11:18 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2019-09-22 09:19:45 +0200 |
commit | cb32ad68f31de784a13ca5a2847143c4c37738ce (patch) | |
tree | 9d9d5497c9a58d54ae5ef7cb226e81dd5fb14cb7 /sub/sd.h | |
parent | 0f938b197a79c09b01a9dcf39f02e95d9d7fb4a2 (diff) | |
download | mpv-cb32ad68f31de784a13ca5a2847143c4c37738ce.tar.bz2 mpv-cb32ad68f31de784a13ca5a2847143c4c37738ce.tar.xz |
command: add sub-start & sub-end properties
These properties contain the current subtitle's start and end times.
Can be useful to cut sample audio through the scripting interface.
Diffstat (limited to 'sub/sd.h')
-rw-r--r-- | sub/sd.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ struct sd_functions { void (*get_bitmaps)(struct sd *sd, struct mp_osd_res dim, int format, double pts, struct sub_bitmaps *res); char *(*get_text)(struct sd *sd, double pts); + struct sd_times (*get_times)(struct sd *sd, double pts); }; struct lavc_conv; |