waylandsink: Use G_MAXINT32 for opaque regions
authorRobert Mader <robert.mader@collabora.com>
Mon, 13 Dec 2021 11:00:10 +0000 (12:00 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 13 Jan 2022 19:39:59 +0000 (19:39 +0000)
commit1e2bc681712d62081f49e8e74723a596d1578a34
tree33358878da548c37a738a4783488fedc71261ee7
parentd5f5a1c25f052b0d606a85c0b2ea3248eac68182
waylandsink: Use G_MAXINT32 for opaque regions

`gst_wl_window_set_opaque` does not get called on window resizes,
potentially leaving opaque regions too small.
According to the spec opaque regions can be bigger than the surface
size - parts that fall outside of the surface will get ignored.
Thus we can can simply use `G_MAXINT32` and be sure that the whole
surfaces will always be covered.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1446>
subprojects/gst-plugins-bad/ext/wayland/wlwindow.c