summaryrefslogtreecommitdiffstats
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
parent593765ab9ee887acec8573339bad3667f3e796d9 (diff)
Bumps mp4v2 to r224
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2072 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--contrib/version_libmp4v2.txt2
-rw-r--r--libhb/muxmp4.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/contrib/version_libmp4v2.txt b/contrib/version_libmp4v2.txt
index ee4104749..33509b29b 100644
--- a/contrib/version_libmp4v2.txt
+++ b/contrib/version_libmp4v2.txt
@@ -1 +1 @@
-http://download.m0k.org/handbrake/contrib/libmp4v2-2.0-r114.tar.gz
+http://download.m0k.org/handbrake/contrib/libmp4v2-2.0-r224.tar.gz
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 )
{