| Summary: | Crash with uncaught exception: *** -[AVSampleBufferAudioRenderer enqueueSampleBuffer:] Sample buffer has media type 'vide' instead of 'soun' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||
| Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | eric.carlson, peng.liu6, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Jer Noble
2020-06-02 10:50:02 PDT
Created attachment 400839 [details]
Patch
Comment on attachment 400839 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=400839&action=review > Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:1140 > + // AVSampleBufferDisplayLayer will throw an un-documented exception is passed a sample s/is/if/ > Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:1206 > + // AVSampleBufferAudioRenderer will throw an un-documented exception is passed a sample Ditto Created attachment 400841 [details]
Patch for landing
Comment on attachment 400839 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=400839&action=review > Source/WebCore/ChangeLog:9 > + Protect against the possibility of AVStreamDataParser generating non-video or -audio saples in an otherwise s/saples/samples? Committed r262506: <https://trac.webkit.org/changeset/262506> |