gstreamer/gst-libs/gst
David Bender b4bdb75a80 gstglwindow_x11: fix resize
This patch was taken from #629#note_178766, the comment made
at the time was:

The root issue is a mismatch between the initialization of render_rect
in GstGLWindowX11Private and what's expected in the draw_cb function.
Because render_rect is not explicitly initialized to a width and height
of -1 (unlike gstglwindow_wayland_egl.c which does initialize to -1),
the less-than check for explicitly-set render_rect at gstglwindow_x11.c:453-454
always fails, even when the parent_win has been set and the render rectangle
has never been set.

Maybe this came from copying the similar check in the wayland code? Regardless,
I think the correct inequality should be '<= 0' (on both lines).

Alternatively initialization could be changed, but other sinks, e.g.
xvimagesink don't appear to use -1 to mean "unset" render_rect this way.

The issue can be reproduced by running the example in
tests/examples/gl/qt/videooverlay/ on X11, and resizing the output
window

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/701>
2020-06-12 01:36:22 +00:00
..
allocators gstphysmemory: Use G_DECLARE_INTERFACE 2020-03-20 06:20:43 +00:00
app
audio audio: add missing space in GST_AUDIO_FORMATS_ALL 2020-06-10 10:43:42 +02:00
fft
gl gstglwindow_x11: fix resize 2020-06-12 01:36:22 +00:00
pbutils discoverer: Check sinkpad existence before retrieving caps 2020-05-06 11:52:20 +03:00
riff riff-media: add H.265 2020-05-18 09:51:23 +00:00
rtp rtpbuffer: add_extension_onebyte_header: fix the proper wordlen 2020-03-19 14:18:20 +01:00
rtsp Add missing colons to Since markers in the docs 2020-05-01 10:08:40 +03:00
sdp
tag
video videooverlay: chevrons don't need to be escaped in code examples 2020-06-11 22:19:09 +00:00
gettext.h
glib-compat-private.h
gst-i18n-app.h
gst-i18n-plugin.h
meson.build