[Bug 795235] xvimagesink fails: unexpected XShm image size

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 26 19:22:30 UTC 2018


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

--- Comment #13 from David Woodhouse <dwmw2 at infradead.org> ---
(In reply to Nicolas Dufresne (ndufresne) from comment #10)
> Ok, I thought, hey, let's the driver choose, but I notice a Gst ends up
> reading too far. That's because the Intel driver math is wrong for odd width:
> 
> Bug is quite evident:
> https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/src/uxa/
> intel_video.c#n814
> "tmp = ((*w >> 1) + 3) & ~3;"

But see #n793 a few lines above:

    *w = (*w + 1) & ~1;

I'm not sure the Intel driver *is* at fault here. Are you sure you're not using
the glamor_gl version, which I already fixed (comment 7)?

Although it doesn't really matter much, except to get the blame right in your
comments. Some driver(s) get it wrong and thus we should probably work around
it by padding.

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