mirror of https://github.com/mpv-player/mpv
parent
9b15c99aa1
commit
0d35c78a6c
|
@ -931,7 +931,9 @@ static void handle_playback_restart(struct MPContext *mpctx, double endpts)
|
||||||
if (opts->playing_msg && opts->playing_msg[0]) {
|
if (opts->playing_msg && opts->playing_msg[0]) {
|
||||||
char *msg =
|
char *msg =
|
||||||
mp_property_expand_escaped_string(mpctx, opts->playing_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);
|
talloc_free(msg);
|
||||||
}
|
}
|
||||||
if (opts->osd_playing_msg && opts->osd_playing_msg[0]) {
|
if (opts->osd_playing_msg && opts->osd_playing_msg[0]) {
|
||||||
|
|
Loading…
Reference in New Issue