[vlc-commits] input: do not use native language spelling in language lists
Rémi Denis-Courmont
git at videolan.org
Sat Jul 14 10:42:05 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 14 11:13:49 2012 +0300| [e6e1db169c38aaabf9c904c82a26f3b198a17c70] | committer: Rémi Denis-Courmont
input: do not use native language spelling in language lists
Those lists are supposed to contain language codes, not language names.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e6e1db169c38aaabf9c904c82a26f3b198a17c70
---
modules/access/dvdnav.c | 1 -
src/input/es_out.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index bad7f3d..53179d7 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -935,7 +935,6 @@ static char *DemuxGetLanguageCode( demux_t *p_demux, const char *psz_var )
if( *psz_lang == '\0' )
continue;
if( !strcasecmp( pl->psz_eng_name, psz_lang ) ||
- !strcasecmp( pl->psz_native_name, psz_lang ) ||
!strcasecmp( pl->psz_iso639_1, psz_lang ) ||
!strcasecmp( pl->psz_iso639_2T, psz_lang ) ||
!strcasecmp( pl->psz_iso639_2B, psz_lang ) )
diff --git a/src/input/es_out.c b/src/input/es_out.c
index b011682..1a0053d 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2735,7 +2735,6 @@ static char *LanguageGetCode( const char *psz_lang )
for( pl = p_languages; pl->psz_eng_name != NULL; pl++ )
{
if( !strcasecmp( pl->psz_eng_name, psz_lang ) ||
- !strcasecmp( pl->psz_native_name, psz_lang ) ||
!strcasecmp( pl->psz_iso639_1, psz_lang ) ||
!strcasecmp( pl->psz_iso639_2T, psz_lang ) ||
!strcasecmp( pl->psz_iso639_2B, psz_lang ) )
More information about the vlc-commits
mailing list