From 9619ba54ccde2634b9adcfe7a2dc9de2c311d847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Tue, 2 Mar 2021 00:29:36 +0000 Subject: [PATCH] matroska: show the language (if defined) of an audio track --- matroska.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matroska.c b/matroska.c index e513268..6780ecd 100644 --- a/matroska.c +++ b/matroska.c @@ -186,7 +186,7 @@ trackinfo(Biobuf *o, Ebml *e) if(e->tracktype == Etrackvideo) Bprint(o, "%d\t%d", e->video.width, e->video.height); else if(e->tracktype == Etrackaudio) - Bprint(o, "%d\t%d", e->audio.channels, rate); + Bprint(o, "%d\t%d\t%s", e->audio.channels, rate, e->lang); else if(e->tracktype == Etracksubtitles) Bprint(o, "%s", e->lang); else -- 2.45.2