summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/loadfile.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index 2b87dfd927..40f35472e7 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -198,10 +198,12 @@ void update_demuxer_properties(struct MPContext *mpctx)
continue;
}
}
+ struct mp_log *log = mp_log_new(NULL, mpctx->log, "!display-tags");
if (!had_output)
- MP_INFO(mpctx, "File tags:\n");
- MP_INFO(mpctx, " %s: %s\n", info->keys[n], info->values[n]);
+ mp_info(log, "File tags:\n");
+ mp_info(log, " %s: %s\n", info->keys[n], info->values[n]);
had_output = true;
+ talloc_free(log);
}
talloc_free(mpctx->filtered_tags);
mpctx->filtered_tags = info;