Changeset 154693 in webkit
- Timestamp:
- Aug 27, 2013, 8:55:21 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r154692 r154693 1 2013-08-26 Brent Fulgham <bfulgham@apple.com> 2 3 [Windows] some track language tags are not recognized 4 https://bugs.webkit.org/show_bug.cgi?id=120335 5 6 Reviewed by Eric Carlson. 7 8 * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Revise implementation 9 to match logic in platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjc.mm 10 1 11 2013-08-27 Andreas Kling <akling@apple.com> 2 12 -
trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp
r153628 r154693 850 850 return; 851 851 852 setDelayCharacteristicsChangedNotification(true); 853 852 854 bool haveCCTrack = false; 853 855 bool hasCaptions = false; … … 923 925 sizeChanged(); 924 926 925 if ( !primaryAudioTrackLanguage.isNull() &&primaryAudioTrackLanguage != languageOfPrimaryAudioTrack())927 if (primaryAudioTrackLanguage != languageOfPrimaryAudioTrack()) 926 928 player()->characteristicChanged(); 929 930 setDelayCharacteristicsChangedNotification(false); 927 931 } 928 932 … … 1105 1109 AVCFAssetTrackRef track = (AVCFAssetTrackRef)CFArrayGetValueAtIndex(tracks.get(), 0); 1106 1110 RetainPtr<CFStringRef> language = adoptCF(AVCFAssetTrackCopyExtendedLanguageTag(track)); 1111 1112 // If the language code is stored as a QuickTime 5-bit packed code there aren't enough bits for a full 1113 // RFC 4646 language tag so extendedLanguageTag returns null. In this case languageCode will return the 1114 // ISO 639-2/T language code so check it. 1115 if (!language) 1116 language = adoptCF(AVCFAssetTrackCopyLanguageCode(track)); 1107 1117 1108 1118 // Some legacy tracks have "und" as a language, treat that the same as no language at all.
Note:
See TracChangeset
for help on using the changeset viewer.