summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-01 19:49:04 +0200
committerwm4 <wm4@nowhere>2012-09-18 21:04:46 +0200
commitb554a59b5818640734486555064af86383154ace (patch)
tree69fb972ec4bf24d01e01ac9e9b296df2f48fd69f /sub/dec_sub.h
parentfd52cb65f43d262493724899c7b0fb49971f745d (diff)
downloadmpv-b554a59b5818640734486555064af86383154ace.tar.bz2
mpv-b554a59b5818640734486555064af86383154ace.tar.xz
subs: restore support for sub_step command with libass
This was destroyed by Uoti Urpala in commit "subs: always use sub...". Features should be either kept working or completely removed, but not just crippled, which only inflates the code and frustrates users.
Diffstat (limited to 'sub/dec_sub.h')
-rw-r--r--sub/dec_sub.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sub/dec_sub.h b/sub/dec_sub.h
index ae39f15f31..efbfdc9ce7 100644
--- a/sub/dec_sub.h
+++ b/sub/dec_sub.h
@@ -32,4 +32,8 @@ struct sh_sub *sd_ass_create_from_track(struct ass_track *track,
bool vsfilter_aspect,
struct MPOpts *opts);
+#ifdef CONFIG_ASS
+struct ass_track *sub_get_ass_track(struct osd_state *osd);
+#endif
+
#endif