History

player/loadfile: add codec profile to print_stream()

Kacper Michajłow committed 2 years ago

Commit 0bcc3361 parent e7201591 file · +2 −0Browse files

Unified · Split

player/loadfile.c+2−0
@@ -278,6 +278,8 @@ static void print_stream(struct MPContext *mpctx, struct track *t) · 277 unmodified lines
278278 APPEND(b, " '%s'", t->title);
279279 const char *codec = s ? s->codec->codec : NULL;
280280 APPEND(b, " (%s", codec ? codec : "<unknown>");
281+ if (s && s->codec->codec_profile)
282+ APPEND(b, " [%s]", s->codec->codec_profile);
281283 if (t->type == STREAM_VIDEO) {
282284 if (s && s->codec->disp_w)
283285 APPEND(b, " %dx%d", s->codec->disp_w, s->codec->disp_h);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t