From 3f3a6b13bd05f6b0c0a68d8857699368a1949cd6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 31 Oct 2014 23:59:10 +0100 Subject: sub: remove osd_get_sub() Trades one strange thing against another, but seems slightly less strange. --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/command.c') diff --git a/player/command.c b/player/command.c index c69e058ae2..2cf91cfd68 100644 --- a/player/command.c +++ b/player/command.c @@ -3989,7 +3989,7 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd) if (!mpctx->num_sources) return -1; struct osd_sub_state state; - osd_get_sub(mpctx->osd, OSDTYPE_SUB, &state); + get_osd_sub_state(mpctx, 0, &state); if (state.dec_sub && mpctx->video_pts != MP_NOPTS_VALUE) { double a[2]; a[0] = mpctx->video_pts - state.video_offset - opts->sub_delay; -- cgit v1.2.3