From 6659de707b45ea96e6b8cad142c825929aa926e7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 27 Dec 2014 12:23:00 +0100 Subject: player: cosmetics: rename a function Something which has this many important sideffects shouldn't start have a "get" prefix. --- 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 4a5dda6590..2a7ac5b82b 100644 --- a/player/command.c +++ b/player/command.c @@ -4248,7 +4248,7 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd) if (!mpctx->num_sources) return -1; struct osd_sub_state state; - get_osd_sub_state(mpctx, 0, &state); + update_osd_sub_state(mpctx, 0, &state); double refpts = get_current_time(mpctx); if (state.dec_sub && refpts != MP_NOPTS_VALUE) { double a[2]; -- cgit v1.2.3