Skip to content

Commit f32e2f5

Browse files
committed
Quirks: Fix debug build
1 parent cadc7eb commit f32e2f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4020,7 +4020,6 @@ static void setRectangleToVideoSink(GstElement* videoSink, const IntRect& rect)
40204020
if (!videoSink)
40214021
return;
40224022

4023-
ASSERT(isHolePunchRenderingEnabled());
40244023
auto& quirksManager = GStreamerQuirksManager::singleton();
40254024
quirksManager.setHolePunchVideoRectangle(videoSink, rect);
40264025
}
@@ -4068,6 +4067,7 @@ void MediaPlayerPrivateGStreamer::pushNextHolePunchBuffer()
40684067
proxy.pushNextBuffer(WTFMove(layerBuffer));
40694068
};
40704069

4070+
ASSERT(isHolePunchRenderingEnabled());
40714071
#if USE(NICOSIA)
40724072
auto& proxy = downcast<Nicosia::ContentLayerTextureMapperImpl>(m_nicosiaLayer->impl()).proxy();
40734073
ASSERT(is<TextureMapperPlatformLayerProxyGL>(proxy));

0 commit comments

Comments
 (0)