[MPlayer-dev-eng] [PATCH] stream_dvd: include audio and sub track type.

Ingo Brückl ib at wupperonline.de
Mon Jul 9 18:19:34 CEST 2012


Nicolas George wrote on Sun,  8 Jul 2012 16:01:05 +0200:

> +static const char *const dvd_audio_stream_subtype[] = {
> +    "generic", "normal", "impaired", "comments", "comments (bis)",
> +};

> +        char subtype[64] = "unknown";

> +        if (subtitle->code_extension < 16) {
> +            static const char *const high[] =
> +                { "normal", "closed captions", "forced", "commentary" };
> +            static const char *const low[] =
> +                { "undefined", "content", "large", "children" };
> +            snprintf(subtype, sizeof(subtype), "%s, %s",
> +                high[subtitle->code_extension >> 2],
> +                low [subtitle->code_extension &  3]);
> +        }

These should be translatable.

Ingo


More information about the MPlayer-dev-eng mailing list