vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Mon Apr 11 21:07:08 2016 +0200| [7d0799d7776e863c1696098bfba1274617e7b64e] | committer: Jean-Baptiste Kempf
src: allow language lookup with the full name If the es.psz_lang provided is not using a shortcode (2 or 3), then it would fail to find it. Close #16810 Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d0799d7776e863c1696098bfba1274617e7b64e --- src/input/es_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/es_out.c b/src/input/es_out.c index 4dafa6f..5505c33 100644 --- a/src/input/es_out.c +++ b/src/input/es_out.c @@ -2754,7 +2754,7 @@ static char *LanguageGetName( const char *psz_code ) } else { - return strdup( psz_code ); + pl = GetLang_1( LanguageGetCode( psz_code ) ); } if( !strcmp( pl->psz_iso639_1, "??" ) ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
