Bug 145959

Summary: [Mac] Clear current AirPlay source before setting another
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch.
bfulgham: review+
Updated patch.
none
Updated patch. none

Description Eric Carlson 2015-06-13 17:21:17 PDT
It is an error to set the same output context on two AVPlayers simultaneously, so always clear an active player before setting the context on another.
Comment 1 Eric Carlson 2015-06-13 17:21:38 PDT
<rdar://problem/21331156>
Comment 2 Eric Carlson 2015-06-13 17:25:36 PDT
Created attachment 254857 [details]
Proposed patch.
Comment 3 Brent Fulgham 2015-06-13 20:22:09 PDT
Comment on attachment 254857 [details]
Proposed patch.

r=me
Comment 4 Eric Carlson 2015-07-02 12:34:47 PDT
Created attachment 256023 [details]
Updated patch.
Comment 5 WebKit Commit Bot 2015-07-02 12:37:40 PDT
Attachment 256023 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 6 Eric Carlson 2015-07-02 12:58:38 PDT
Created attachment 256025 [details]
Updated patch.
Comment 7 Brent Fulgham 2015-07-02 14:15:32 PDT
Comment on attachment 256025 [details]
Updated patch.

r=me. I don't think the Windows build issue is due to this patch.
Comment 8 WebKit Commit Bot 2015-07-02 15:32:21 PDT
Comment on attachment 256025 [details]
Updated patch.

Clearing flags on attachment: 256025

Committed r186238: <http://trac.webkit.org/changeset/186238>
Comment 9 WebKit Commit Bot 2015-07-02 15:32:24 PDT
All reviewed patches have been landed.  Closing bug.