[Bug 762547] The NV12 UV plane address does not match with 1920x1080 frames

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 23 16:44:07 UTC 2016


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

Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Aha!

Now I can imagine what's happening!

appsink doesn't negotiates a buffer pool with GST_BUFFER_POOL_OPTION_VIDEO_META
and, only if downstream requests it, the vaapi buffer pool will stamp the
GstVideoMeta in the buffer with the correct strides and offsets. Without it,
the gst_video_frame_map() will try to figure out those parameters which may not
match with the GPU mapped memory.

So, either you create your own sink which ask for a buffer pool with
GST_BUFFER_POOL_OPTION_VIDEO_META, or, perhaps, you should insert a
software-based video filter, like gamma, to request it for you.

I'm going to close the issue but if you feel that we should fix something in
gstreamer-vaapi, please reopen it.

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