From 709002a3b26c653c82b5a44a21feaaaecadd277e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 22 Sep 2014 00:08:19 +0200 Subject: command: use show_property_osd() sub_step Simpler and more consistent. --- player/command.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/player/command.c b/player/command.c index 43e465004c..66f12cd216 100644 --- a/player/command.c +++ b/player/command.c @@ -3667,8 +3667,7 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd) if (cmd->id == MP_CMD_SUB_STEP) { opts->sub_delay -= a[0]; osd_changed_all(mpctx->osd); - set_osd_msg(mpctx, osdl, osd_duration, - "Sub delay: %d ms", ROUND(opts->sub_delay * 1000)); + show_property_osd(mpctx, "sub-delay", on_osd); } else { // We can easily get stuck by failing to seek to the video // frame which actually shows the sub first (because video -- cgit v1.2.3