[vlc-devel] [PATCH] Language support acording to MKV-Spec
Rémi Denis-Courmont
remi at remlab.net
Tue Jul 29 09:21:41 CEST 2014
Le 2014-07-29 01:38, Maximilian Madlung a écrit :
> ---
> src/input/es_out.c | 42 +++++++++++++++++++++++++++++++++---------
> 1 file changed, 33 insertions(+), 9 deletions(-)
>
> diff --git a/src/input/es_out.c b/src/input/es_out.c
> index d5ac33b..cbf6ed2 100644
> --- a/src/input/es_out.c
> +++ b/src/input/es_out.c
> @@ -2727,21 +2727,45 @@ static char *LanguageGetName( const char
> *psz_code )
> return strdup( "" );
> }
>
> - if( strlen( psz_code ) == 2 )
> + /* Check if the language code consists a "-[...]" and only take
> the front
> + part as language */
I think that belongs in the MKV demux, not the core code.
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list