Skip to content

Commit 071ee86

Browse files
committed
Quirks: Fix non-hole punch rendering
1 parent f5dab99 commit 071ee86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3139,7 +3139,8 @@ PlatformLayer* MediaPlayerPrivateGStreamer::platformLayer() const
31393139
#if USE(NICOSIA)
31403140
void MediaPlayerPrivateGStreamer::swapBuffersIfNeeded()
31413141
{
3142-
pushNextHolePunchBuffer();
3142+
if (isHolePunchRenderingEnabled())
3143+
pushNextHolePunchBuffer();
31433144
}
31443145
#else
31453146
RefPtr<TextureMapperPlatformLayerProxy> MediaPlayerPrivateGStreamer::proxy() const

0 commit comments

Comments
 (0)