diff options
author | wm4 <wm4@nowhere> | 2014-10-31 23:59:10 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-01 00:02:01 +0100 |
commit | 3f3a6b13bd05f6b0c0a68d8857699368a1949cd6 (patch) | |
tree | 72f301a4e1cc60c6ad59cc6b5762f70cd15142b5 /player/command.c | |
parent | 75afef64638485aa982519cee21a7b55e2b90a28 (diff) | |
download | mpv-3f3a6b13bd05f6b0c0a68d8857699368a1949cd6.tar.bz2 mpv-3f3a6b13bd05f6b0c0a68d8857699368a1949cd6.tar.xz |
sub: remove osd_get_sub()
Trades one strange thing against another, but seems slightly less
strange.
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |