If a movie's language code is stored as a QuickTime 5-bit packed code there aren't enough bits for a full RFC 4646 language tag. The AVFoundation API we use returns NULL in this case, so we have to try another to see if we can get the ISO 639-2/T language code.
<rdar://problem/14701711>
Created attachment 208462 [details] Proposed patch
Comment on attachment 208462 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=208462&action=review > Source/WebCore/ChangeLog:13 > + QuickTime langage code. typo language
Committed in https://trac.webkit.org/r153912.
Looks like this made a bunch of tests fail https://bugs.webkit.org/show_bug.cgi?id=119661
This patch caused 26 tests to fail: http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r153912%20(11876)/results.html Aug 09 16:21 153912 failure #11876 Failed 28 failures 24 new passes 3 flakes Aug 09 16:08 153910 failure #11875 Failed 2 failures 25 new passes 5 flakes
Reverted in https://trac.webkit.org/r153945.
Comment on attachment 208462 [details] Proposed patch Attachment 208462 [details] did not pass win-ews (win): Output: http://webkit-queues.appspot.com/results/1527454
Created attachment 209498 [details] Proposed patch
Comment on attachment 209498 [details] Proposed patch r=me.
Committed r154527 - https://trac.webkit.org/r154527.