diff --git a/player/playloop.c b/player/playloop.c index 9ffeae6842..02908ed951 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -931,7 +931,9 @@ static void handle_playback_restart(struct MPContext *mpctx, double endpts) if (opts->playing_msg && opts->playing_msg[0]) { char *msg = mp_property_expand_escaped_string(mpctx, opts->playing_msg); - MP_INFO(mpctx, "%s\n", msg); + struct mp_log *log = mp_log_new(NULL, mpctx->log, "!term-msg"); + mp_info(log, "%s\n", msg); + talloc_free(log); talloc_free(msg); } if (opts->osd_playing_msg && opts->osd_playing_msg[0]) {