[MPlayer-dev-eng] [PATCH] ogg subtitle language

Moritz Bunkus moritz at bunkus.org
Mon Sep 6 09:43:49 CEST 2004


Hi,

> At Attila's suggestion, here's a patch to show the subtitle language (if
> available) on OSD when switching ogg subs.

Basically this looks fine to me, but I had thought about going a bit
further. For the sake of usability I'd like to translate both the
language codes on DVDs and in Matroska files to their English
names. This can easily be done, and that code already exists on my
side.

Now what I had thought about is having a general
demux_get_track_language function and not several 'if (demuxer->type
==...)' in main(). That's how it's done for the other demux_* functions.

Comments?

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds




More information about the MPlayer-dev-eng mailing list