[MPlayer-dev-eng] [PATCH] Track names in matroska

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sat Aug 5 16:43:42 CEST 2006


On Thursday 15 June 2006 21:32, Paul Lebedev wrote:
> Hi.
>
> This patch displays track names in matroska files which helps distinguish
> multiple tracks of the same type and language.
>
> And a couple of questions about mkv demuxer:
> 1. While there is -alang and -slang, there is no support for choosing video
> track by language, is anything like -vlang possible?
> 2. demux_mkv_read_trackentry initializes track->language with "eng",
> shouldn't it be "unk"?
>    (strdup'ed "eng" is also leaked when the real language is read, but it's
> not the only "small" leak I've seen looking through
>    the code, so I suppose it's ok... )

What about this patch ?

I'd prefer to keep old behaviour in case of an untitled track, and not 
print "(untitled)". Other than that, no objections. A useful feature.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkv-track-names2.diff
Type: text/x-diff
Size: 3112 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060805/d5c8320d/attachment.diff>


More information about the MPlayer-dev-eng mailing list