From 58ad43b381f43e83a05a4307e2524266ff60ea37 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Sun, 11 Jan 2009 04:32:42 +0000 Subject: Bumps mp4v2 to r224 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2072 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/muxmp4.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libhb') 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 ) { -- cgit v1.2.3