Changeset 202462 in webkit
- Timestamp:
- Jun 24, 2016 4:54:22 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r202460 r202462 1 2016-06-24 Jer Noble <jer.noble@apple.com> 2 3 MSE gets confused by in-band text tracks 4 https://bugs.webkit.org/show_bug.cgi?id=159107 5 <rdar://problem/26871330> 6 7 Reviewed by Eric Carlson. 8 9 We can't currently handle text track samples in SourceBufferPrivateAVFObjC, 10 so don't pass them up to SourceBuffer. 11 12 * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm: 13 (WebCore::SourceBufferPrivateAVFObjC::didParseStreamDataAsAsset): 14 (WebCore::SourceBufferPrivateAVFObjC::processCodedFrame): 15 1 16 2016-06-24 Mark Lam <mark.lam@apple.com> 2 17 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm
r202431 r202462 617 617 618 618 for (AVAssetTrack* track in [m_asset tracks]) { 619 if ([track hasMediaCharacteristic:AVMediaCharacteristicLegible]) { 620 // FIXME(125161): Handle in-band text tracks. 621 continue; 622 } 623 619 624 if ([track hasMediaCharacteristic:AVMediaCharacteristicVisual]) { 620 625 SourceBufferPrivateClient::InitializationSegment::VideoTrackInformation info; … … 677 682 m_mediaSource->player()->sizeChanged(); 678 683 } 684 } else if (!m_audioRenderers.contains(trackID)) { 685 // FIXME(125161): We don't handle text tracks, and passing this sample up to SourceBuffer 686 // will just confuse its state. Drop this sample until we can handle text tracks properly. 687 return false; 679 688 } 680 689
Note: See TracChangeset
for help on using the changeset viewer.