diff options
author | jbrjake <[email protected]> | 2007-12-13 14:20:17 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2007-12-13 14:20:17 +0000 |
commit | 8f302a693a498c4f28754f32452023681ca126d1 (patch) | |
tree | 10d1dd37cce6dfddc6068281d9efd9a25f621e90 /libhb/lang.h | |
parent | 98929d2b4c34f87899a212e865b55a273ac46a0e (diff) |
MPEG-2 stream reading fixes for missing audio, multiple audio tracks, language codes, reading streams larger than 2GB, and incorrect title numbers. This vastly expands HandBrake's TS/PS compatibility. Thanks, van!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1123 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/lang.h')
-rw-r--r-- | libhb/lang.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/lang.h b/libhb/lang.h index ffaa76b07..4e48d2332 100644 --- a/libhb/lang.h +++ b/libhb/lang.h @@ -19,8 +19,15 @@ typedef struct iso639_lang_t #ifdef __cplusplus extern "C" { #endif +/* find language associated with ISO-639-1 language code */ iso639_lang_t * lang_for_code( int code ); +/* find language associated with ISO-639-2 language code */ +iso639_lang_t * lang_for_code2( const char *code2 ); + +/* ISO-639-1 code for language */ +int lang_to_code(const iso639_lang_t *lang); + iso639_lang_t * lang_for_english( const char * english ); #ifdef __cplusplus } |