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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 11 15:20:42 UTC 2018


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

--- Comment #31 from Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> ---
Interesting, in I420, video-info does this weird thing, the second and third
strides are roundup 4. so ROUNDUP4(348/2) == 176. GStreamer has been doing this
for years now. Maybe there is or there was software code assuming that lines
are 32bit word aligned.

Now, the extrapolate function does not do this spurious rounding. Again, this
is a total guess, but I think compositors supporting planar over shm interface
are unlike to do this roundup. SHM for planar format is pretty bad idea
clearly, as we are never sure we agree on the layout with the compositor. As of
now, it's good thing it fails, because what we think the compositor need is not
what the buffer pool we offer does.

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