[Bug 792874] New: waylandsink: gst-launch-1.0 windows does not mimic application well
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jan 24 16:25:27 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=792874
Bug ID: 792874
Summary: waylandsink: gst-launch-1.0 windows does not mimic
application well
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: minor
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: nicolas at ndufresne.ca
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list