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