Changeset 157982 in webkit
- Timestamp:
- Oct 24, 2013, 6:44:07 PM (13 years ago)
- Location:
- branches/safari-537.73-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-537.73-branch/Source/WebCore/ChangeLog
r157980 r157982 1 2013-10-24 Lucas Forschler <lforschler@apple.com> 2 3 Merge r154693 4 5 2013-08-26 Brent Fulgham <bfulgham@apple.com> 6 7 [Windows] some track language tags are not recognized 8 https://bugs.webkit.org/show_bug.cgi?id=120335 9 10 Reviewed by Eric Carlson. 11 12 * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Revise implementation 13 to match logic in platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjc.mm 14 1 15 2013-10-24 Lucas Forschler <lforschler@apple.com> 2 16 -
branches/safari-537.73-branch/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp
r153718 r157982 842 842 return; 843 843 844 setDelayCharacteristicsChangedNotification(true); 845 844 846 bool haveCCTrack = false; 845 847 bool hasCaptions = false; … … 915 917 sizeChanged(); 916 918 917 if ( !primaryAudioTrackLanguage.isNull() &&primaryAudioTrackLanguage != languageOfPrimaryAudioTrack())919 if (primaryAudioTrackLanguage != languageOfPrimaryAudioTrack()) 918 920 player()->characteristicChanged(); 921 922 setDelayCharacteristicsChangedNotification(false); 919 923 } 920 924 … … 1095 1099 AVCFAssetTrackRef track = (AVCFAssetTrackRef)CFArrayGetValueAtIndex(tracks.get(), 0); 1096 1100 RetainPtr<CFStringRef> language = adoptCF(AVCFAssetTrackCopyExtendedLanguageTag(track)); 1101 1102 // If the language code is stored as a QuickTime 5-bit packed code there aren't enough bits for a full 1103 // RFC 4646 language tag so extendedLanguageTag returns null. In this case languageCode will return the 1104 // ISO 639-2/T language code so check it. 1105 if (!language) 1106 language = adoptCF(AVCFAssetTrackCopyLanguageCode(track)); 1097 1107 1098 1108 // 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.