diff options
author | wm4 <wm4@nowhere> | 2014-09-22 00:08:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-22 00:08:19 +0200 |
commit | 709002a3b26c653c82b5a44a21feaaaecadd277e (patch) | |
tree | 0ae84eef19f94a90e349856cea4dbca48a8b1830 /player | |
parent | c99a966251c9ab3c2bdc5b149ea22a27162168ae (diff) | |
download | mpv-709002a3b26c653c82b5a44a21feaaaecadd277e.tar.bz2 mpv-709002a3b26c653c82b5a44a21feaaaecadd277e.tar.xz |
command: use show_property_osd() sub_step
Simpler and more consistent.
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 3 |
1 files changed, 1 insertions, 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 |