waylandsink: gst-launch-1.0 windows does not mimic application well
Submitted by Nicolas Dufresne
Title is a little vagues, but how waylandsink works is that the application passes a Surface, and waylandsink attach two subsurfaces to it (back plane for the black borders, and the video layer).
Though, when testing with gst-launch-1.0, the created "window" do have a surface, but that surface does not have a buffer attached to it. That makes gnome-shell think the "window" has a size of 0x0, while weston will assume the size of the sub-surfaces.
This is more visible if you set a render rectangle on that created windows, since this endup having absolutely no effect. I "think" that to better mimic applications we should attach a background buffer to this window, at the size we want this window to be. And update that surface when the window is being resized. We could make this background blue or something, that will ease testing the VideoOverlay render rectangle implementation, which seems to have some problems atm.