Bug 131316

Summary: [WK2][iOS] Consecutive videos in full screen display only black
Product: WebKit Reporter: Jer Noble <jer.noble>
Component: New BugsAssignee: Jer Noble <jer.noble>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, commit-queue, eric.carlson, esprehn+autocc, glenn, gyuyoung.kim, philipj, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Jer Noble 2014-04-07 15:18:21 PDT
[WK2][iOS] Consecutive videos in full screen display only black
Comment 1 Jer Noble 2014-04-07 15:27:08 PDT
Created attachment 228762 [details]
Patch
Comment 2 Eric Carlson 2014-04-07 16:23:35 PDT
Comment on attachment 228762 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=228762&action=review

> Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:537
> +    if (m_videoFullscreenLayer)
> +        [m_videoLayer removeFromSuperlayer];

This needs a #if PLATFORM(IOS) guard.
Comment 3 Jer Noble 2014-04-07 17:42:13 PDT
Created attachment 228783 [details]
Patch for landing
Comment 4 Jer Noble 2014-04-08 11:23:24 PDT
Committed r166939: <http://trac.webkit.org/changeset/166939>