File tree Expand file tree Collapse file tree
Source/WebCore/platform/graphics/gstreamer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4015,14 +4015,14 @@ GstElement* MediaPlayerPrivateGStreamer::createVideoSinkGL()
40154015static void setRectangleToVideoSink (GstElement* videoSink, const IntRect& rect)
40164016{
40174017 // Here goes the platform-dependant code to set to the videoSink the size
4018- // and position of the video rendering window. Mark them unused as default.
4018+ // and position of the video rendering window.
40194019
40204020 if (!videoSink)
40214021 return ;
40224022
4023+ ASSERT (isHolePunchRenderingEnabled ());
40234024 auto & quirksManager = GStreamerQuirksManager::singleton ();
4024- if (quirksManager.isEnabled ())
4025- quirksManager.setHolePunchVideoRectangle (videoSink, rect);
4025+ quirksManager.setHolePunchVideoRectangle (videoSink, rect);
40264026}
40274027
40284028class GStreamerHolePunchClient : public TextureMapperPlatformLayerBuffer ::HolePunchClient {
You can’t perform that action at this time.
0 commit comments