Bug 131316 - [WK2][iOS] Consecutive videos in full screen display only black
Summary: [WK2][iOS] Consecutive videos in full screen display only black
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-07 15:18 PDT by Jer Noble
Modified: 2014-04-08 11:24 PDT (History)
8 users (show)

See Also:


Attachments
Patch (2.98 KB, patch)
2014-04-07 15:27 PDT, Jer Noble
no flags Details | Formatted Diff | Diff
Patch for landing (3.01 KB, patch)
2014-04-07 17:42 PDT, Jer Noble
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>