Summary: | Seeking an MSE video will begin playing audio long before rendering video | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||||
Component: | Media | Assignee: | Jer Noble <jer.noble> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, eric.carlson, jlewis3, jonlee, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=173331 | ||||||||||
Attachments: |
|
Description
Jer Noble
2017-06-12 13:00:59 PDT
Created attachment 312688 [details]
Patch
Comment on attachment 312688 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=312688&action=review > Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:440 > + if (!CFEqual(kCMSampleBufferConsumerNotification_BufferConsumed, notificationName)) Nit: kCMSampleBufferConsumerNotification_BufferConsumed should be soft linked. > Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:983 > + CMSetAttachment(sampleCopy.get(), kCMSampleBufferAttachmentKey_PostNotificationWhenConsumed, @{kBufferConsumedContext: context.get()}, kCMAttachmentMode_ShouldNotPropagate); Nit: ditto for kCMSampleBufferAttachmentKey_PostNotificationWhenConsumed. Created attachment 312707 [details]
Patch for landing
Created attachment 312711 [details]
Patch for landing
Comment on attachment 312711 [details] Patch for landing Clearing flags on attachment: 312711 Committed r218150: <http://trac.webkit.org/changeset/218150> All reviewed patches have been landed. Closing bug. Follow-up build fix: https://trac.webkit.org/changeset/218158/webkit |