From 0bcc33692d3824535cc9020f033892a202bc4923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Fri, 12 Apr 2024 14:27:08 +0200 Subject: [PATCH] player/loadfile: add codec profile to print_stream() --- player/loadfile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/player/loadfile.c b/player/loadfile.c index 44ca805913..7421a47d26 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -278,6 +278,8 @@ static void print_stream(struct MPContext *mpctx, struct track *t) APPEND(b, " '%s'", t->title); const char *codec = s ? s->codec->codec : NULL; APPEND(b, " (%s", codec ? codec : ""); + if (s && s->codec->codec_profile) + APPEND(b, " [%s]", s->codec->codec_profile); if (t->type == STREAM_VIDEO) { if (s && s->codec->disp_w) APPEND(b, " %dx%d", s->codec->disp_w, s->codec->disp_h);