diff options
author | wm4 <wm4@nowhere> | 2013-06-29 01:34:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-29 22:58:14 +0200 |
commit | e5c094754157102a964364041d6fb0caf2188809 (patch) | |
tree | e6bb02b7408c40651d620ac523fb2ffdf3f17cc7 /sub/sd.h | |
parent | 00b0f42c42724346190d350e8801e19d8d7b9a23 (diff) | |
download | mpv-e5c094754157102a964364041d6fb0caf2188809.tar.bz2 mpv-e5c094754157102a964364041d6fb0caf2188809.tar.xz |
dec_sub: introduce sub_control(), use it for sub_step
This means the direct libass usage can be removed from command.c, and no
weird hacks for retrieving the ASS_Track are needed.
Also fix a bug when using this feature with ordered chapters.
Diffstat (limited to 'sub/sd.h')
-rw-r--r-- | sub/sd.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -54,6 +54,7 @@ struct sd_functions { void (*uninit)(struct sd *sd); void (*fix_events)(struct sd *sd); + int (*control)(struct sd *sd, enum sd_ctrl cmd, void *arg); // decoder void (*get_bitmaps)(struct sd *sd, struct mp_osd_res dim, double pts, |