summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-27 12:23:00 +0100
committerwm4 <wm4@nowhere>2014-12-27 12:23:00 +0100
commit6659de707b45ea96e6b8cad142c825929aa926e7 (patch)
tree3f72af80b2c893b4fc31557440ce3129c57b1087 /player/command.c
parent069016fd6cee08f91dc0c49cd47b2b5766319ec5 (diff)
downloadmpv-6659de707b45ea96e6b8cad142c825929aa926e7.tar.bz2
mpv-6659de707b45ea96e6b8cad142c825929aa926e7.tar.xz
player: cosmetics: rename a function
Something which has this many important sideffects shouldn't start have a "get" prefix.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
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];