diff options
author | Rodeo <[email protected]> | 2013-07-13 16:41:49 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-07-13 16:41:49 +0000 |
commit | 1126b3488c02e40bf3426e35de26c420c20a3e76 (patch) | |
tree | 3aace5d02fa8c59d25b964d3e1b31013d04430f4 /libhb/lang.h | |
parent | c4a87e9ce22fff4a3f47cfd3d3b89278f63beb83 (diff) |
MacGui: populate the SRT subtitle language list dynamically from libhb.
Adds several languages that were previously missing from the list.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5645 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/lang.h')
-rw-r--r-- | libhb/lang.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libhb/lang.h b/libhb/lang.h index 9df8e10f4..cf4ecc321 100644 --- a/libhb/lang.h +++ b/libhb/lang.h @@ -33,6 +33,14 @@ iso639_lang_t * lang_for_code2( const char *code2 ); int lang_to_code(const iso639_lang_t *lang); iso639_lang_t * lang_for_english( const char * english ); + +/* + * Get the next language in the list. + * Returns NULL if there are no more languages. + * Pass NULL to get the first language in the list. + */ +const iso639_lang_t* lang_get_next(const iso639_lang_t *last); + #ifdef __cplusplus } #endif |