diff options
author | wm4 <wm4@nowhere> | 2014-01-17 22:34:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-17 22:34:47 +0100 |
commit | 49ebbce3e049c7f8fba0c001d1e70994e2473eee (patch) | |
tree | 677447594b77cf0f6778f43839c5adf6d2ce7938 /player/screenshot.c | |
parent | a0a2ea8713bcd1b0ed35eaaaa93625e973480563 (diff) | |
download | mpv-49ebbce3e049c7f8fba0c001d1e70994e2473eee.tar.bz2 mpv-49ebbce3e049c7f8fba0c001d1e70994e2473eee.tar.xz |
player: remove OSD message IDs
These were needed before the last commit, but now they don't do anything
anymore. (They were used to decide whether to replace or stack the
previous OSD message when a new one was displayed.)
Diffstat (limited to 'player/screenshot.c')
-rw-r--r-- | player/screenshot.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/player/screenshot.c b/player/screenshot.c index d6aa81af84..d5a6b1b3d0 100644 --- a/player/screenshot.c +++ b/player/screenshot.c @@ -79,10 +79,8 @@ static void screenshot_msg(screenshot_ctx *ctx, int status, const char *msg, va_end(ap); MP_MSG(ctx->mpctx, status == SMSG_ERR ? MSGL_ERR : MSGL_INFO, "%s\n", s); - if (ctx->osd) { - set_osd_msg(ctx->mpctx, OSD_MSG_TEXT, 1, ctx->mpctx->opts->osd_duration, - "%s", s); - } + if (ctx->osd) + set_osd_msg(ctx->mpctx, 1, ctx->mpctx->opts->osd_duration, "%s", s); talloc_free(s); } |