mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
player/loadfile: add codec profile to print_stream()
This commit is contained in:
parent
e720159f72
commit
0bcc33692d
@ -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 : "<unknown>");
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user