GNOME Bugzilla – Bug 752652
glimagesink: overlay composition resize does not place text correctly
Last modified: 2015-08-16 13:38:47 UTC
Reproducal: Run gst-launch-1.0 videotestsrc ! textoverlay text=YAY ! glimagesink and resize the window. The text does not stay in the same place relative to the video but is stuck at a fixed offset.
Actually it lags behind the window resize.
I forgot to propose the hack for gst-plugins-base to make the negotation fnish every event cycle. https://bugzilla.gnome.org/show_bug.cgi?id=751157 This fixes the lag. It's still slow but the resolution is correct in the same event cycle at least.
Works for me.
You might see 1 or two frames wrong, that's because we where asked to use the a serialize query to get the window size. which enforce the race (even though you could have wrong frames with the other method, the upstream event). The nature of reconfiguration is asynchronous, while the resize is synchronous. There might be something we could do at the renderer side to improve that, please leave this bug open.
This is fixed now, sorry for the inconvenience.