[Bug 790057] waylandsink does not respect video alignment from upstream

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 17 15:19:55 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=790057

--- Comment #5 from Arnaud Vrac <rawoul at gmail.com> ---
@stormer: your patch doesn't help, the code you added is already done a few
lines above.

As I said, the only way to support this would be to use the aligned
width/height in the SHM buffer, and to crop to the actual size using
wp_viewport. This is for two reasons:

 - the left, right, top and bottom padding added by the buffer alignment
configured upstream are not included in the memory offsets. Left and right
padding could be handled by including those in the SHM buffer offset.

 - the SHM protocol assumes the planes are contiguous (ie no arbitrary space
between planes). So there is no way to support top and bottom padding from the
buffer alignement, which is applied for each plane.

-- 
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