Changeset 275662 in webkit
- Timestamp:
- Apr 8, 2021, 11:17:31 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r275660 r275662 1 2021-04-08 Youenn Fablet <youenn@apple.com> 2 3 Broken transition when video player with MediaStream changes size 4 https://bugs.webkit.org/show_bug.cgi?id=224161 5 <rdar://problem/76366061> 6 7 Reviewed by Eric Carlson. 8 9 In case of animation that changes the root layer bounds, we need to synchronously update 10 the buffer layer as well. 11 12 Manually tested. 13 14 * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm: 15 (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::rootLayerBoundsDidChange): 16 1 17 2021-04-08 Simon Fraser <simon.fraser@apple.com> 2 18 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm
r274778 r275662 1049 1049 void MediaPlayerPrivateMediaStreamAVFObjC::rootLayerBoundsDidChange() 1050 1050 { 1051 m_shouldUpdateDisplayLayer = true; 1051 auto locker = holdLock(m_sampleBufferDisplayLayerLock); 1052 if (m_sampleBufferDisplayLayer) 1053 m_sampleBufferDisplayLayer->updateBoundsAndPosition(m_sampleBufferDisplayLayer->rootLayer().bounds, m_videoRotation); 1052 1054 } 1053 1055
Note:
See TracChangeset
for help on using the changeset viewer.