[Bug 755072] vaapi: expose memory:DMABuf capsfeature

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 3 10:13:59 UTC 2016


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

--- Comment #49 from Julien Isorce <julien.isorce at gmail.com> ---
About the rendering problem, I could workaround it for a 720p video with the
following hack for GstGL:

attribs[atti++] = offset ? (offset - 16*720) : 0;

So it seems that the vaapi-intel-driver adds 16 lines padding for the first
plane (or offset the second plane by 16 additional lines, depending on how you
interpret it).
I tried to play with FLAG_LINEAR_STORAGE & FLAG_FIXED_STRIDES &
FLAG_FIXED_OFFSETS, see
https://github.com/CapOM/gstreamer-vaapi/commit/7364ea196030ac56b5aaf75a0b8a485e611390a5#diff-369e0f9df85ddc32a12842788712646fR142
but without any success.

But with that hack above it renders properly.
At this point I think it is a problem in vaapi-intel-driver (maybe not
considering VASurfaceAttribExternalBuffers.offsets[N] properly) but not sure at
all.

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