[Bug 783599] plugins: refactor the handling of negotiated caps vs allocation caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 9 15:10:55 UTC 2017


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

--- Comment #4 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 353470
  --> https://bugzilla.gnome.org/attachment.cgi?id=353470&action=edit
plugins: distinguish allocation and negotiation caps

The vaapi video decoders might have different allocation caps from
the negotiation caps, thus the GstVideoMeta shall use the negotiation
caps, not the allocation caps.

This was done before reusing gst_allocator_get_vaapi_video_info(),
storing there the negotiation caps if they differ from the allocation
ones, but this strategy felt short when the allocator had to be reset
in the vaapi buffer pool, since we need both.

This patch adds gst_allocator_set_vaapi_negotiated_video_info() and
gst_allocator_get_vaapi_negotiated_video_info() to store the
negotiated video info in the allocator, and distinguish it from
the allocation video info.

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