From 49ebbce3e049c7f8fba0c001d1e70994e2473eee Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 17 Jan 2014 22:34:47 +0100 Subject: 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.) --- player/screenshot.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'player/screenshot.c') 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); } -- cgit v1.2.3