Changeset 201569 in webkit
- Timestamp:
- Jun 1, 2016, 2:31:46 PM (10 years ago)
- Location:
- branches/safari-602.1.32-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-602.1.32-branch/Source/WebCore/ChangeLog
r201514 r201569 1 2016-06-01 Babak Shafiei <bshafiei@apple.com> 2 3 Merge r201567. rdar://problem/25388848 4 5 2016-06-01 Jer Noble <jer.noble@apple.com> 6 7 setVideoFullscreenGravity() has no effect on the fullscreen video layer 8 https://bugs.webkit.org/show_bug.cgi?id=158267 9 10 Reviewed by Eric Carlson. 11 12 When we moved to a 2-AVPlayerLayer solution, we didn't update setVideoFullscreenGravity() 13 to change the correct layer's videoGravity property. 14 15 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: 16 (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenGravity): 17 1 18 2016-05-31 Babak Shafiei <bshafiei@apple.com> 2 19 -
branches/safari-602.1.32-branch/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
r201514 r201569 1220 1220 { 1221 1221 m_videoFullscreenGravity = gravity; 1222 if (!m_videoLayer) 1222 1223 auto activeLayer = m_secondaryVideoLayer.get() ?: m_videoLayer.get(); 1224 if (!activeLayer) 1223 1225 return; 1224 1226 … … 1233 1235 ASSERT_NOT_REACHED(); 1234 1236 1235 if ([ m_videoLayer videoGravity] == videoGravity)1236 return; 1237 1238 [ m_videoLayer setVideoGravity:videoGravity];1237 if ([activeLayer videoGravity] == videoGravity) 1238 return; 1239 1240 [activeLayer setVideoGravity:videoGravity]; 1239 1241 syncTextTrackBounds(); 1240 1242 }
Note:
See TracChangeset
for help on using the changeset viewer.