Flag frames captured from a video device to be displayed immediately. Also enqueue frames when the sample buffer display layer isn't ready for new frames instead of discarding them.
<rdar://problem/29139073>
Created attachment 294064 [details] Proposed patch.
Attachment 294064 [details] did not pass style-queue: ERROR: Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:133: No space between ^ and block definition. [whitespace/brackets] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 294064 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=294064&action=review > Source/WebCore/platform/cf/CoreMediaSoftLink.cpp:107 > +SOFT_LINK_CONSTANT_FOR_SOURCE(WebCore, CoreMedia, kCMSampleAttachmentKey_IsDependedOnByOthers, CFStringRef) Unnecessary? > Source/WebCore/platform/cf/CoreMediaSoftLink.h:170 > +SOFT_LINK_CONSTANT_FOR_HEADER(WebCore, CoreMedia, kCMSampleAttachmentKey_IsDependedOnByOthers, CFStringRef) > +#define kCMSampleAttachmentKey_IsDependedOnByOthers get_CoreMedia_kCMSampleAttachmentKey_IsDependedOnByOthers() Ditto.
(In reply to comment #4) > Comment on attachment 294064 [details] > Proposed patch. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=294064&action=review > > > Source/WebCore/platform/cf/CoreMediaSoftLink.cpp:107 > > +SOFT_LINK_CONSTANT_FOR_SOURCE(WebCore, CoreMedia, kCMSampleAttachmentKey_IsDependedOnByOthers, CFStringRef) > > Unnecessary? > > > Source/WebCore/platform/cf/CoreMediaSoftLink.h:170 > > +SOFT_LINK_CONSTANT_FOR_HEADER(WebCore, CoreMedia, kCMSampleAttachmentKey_IsDependedOnByOthers, CFStringRef) > > +#define kCMSampleAttachmentKey_IsDependedOnByOthers get_CoreMedia_kCMSampleAttachmentKey_IsDependedOnByOthers() > > Ditto. Both removed. Thanks for the review!
Created attachment 294156 [details] Patch for landing.
Comment on attachment 294156 [details] Patch for landing. Clearing flags on attachment: 294156 Committed r208444: <http://trac.webkit.org/changeset/208444>