summaryrefslogtreecommitdiffstats
path: root/libhb/muxmp4.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2009-01-11 04:32:42 +0000
committerjbrjake <[email protected]>2009-01-11 04:32:42 +0000
commit58ad43b381f43e83a05a4307e2524266ff60ea37 (patch)
treec98a2ddbc8a15d8cb32c195b3dcf22a83eb8b9b1 /libhb/muxmp4.c
parent593765ab9ee887acec8573339bad3667f3e796d9 (diff)
Bumps mp4v2 to r224
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2072 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxmp4.c')
-rw-r--r--libhb/muxmp4.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c
index c0d1b0799..9f62a2a2f 100644
--- a/libhb/muxmp4.c
+++ b/libhb/muxmp4.c
@@ -361,11 +361,7 @@ static int MP4Init( hb_mux_object_t * m )
}
/* Set the language for this track */
- /* The language is stored as 5-bit text - 0x60 */
- language_code = audio->config.lang.iso639_2[0] - 0x60; language_code <<= 5;
- language_code |= audio->config.lang.iso639_2[1] - 0x60; language_code <<= 5;
- language_code |= audio->config.lang.iso639_2[2] - 0x60;
- MP4SetTrackIntegerProperty(m->file, mux_data->track, "mdia.mdhd.language", language_code);
+ MP4SetTrackLanguage(m->file, mux_data->track, audio->config.lang.iso639_2);
if( hb_list_count( title->list_audio ) > 1 )
{