[Bug 769266] vaapi encoder should not accept all caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 12 17:07:32 UTC 2016


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

Scott D Phillips <scott.d.phillips at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scott.d.phillips at intel.com

--- Comment #8 from Scott D Phillips <scott.d.phillips at intel.com> ---
(In reply to Víctor Manuel Jáquez Leal from comment #7)
> Before my vacations I worked on "a proper fix" for this issue. This are my
> findings:
> 
> In Haswell, if we query the created VA context, we got these possible color
> formats to be uploaded: NV12, I420 and YV12
> 
> Nonetheless, it is impossible to get those values without creating the
> encoder context, and to create the encoder context it is mandatory to have a
> GstVaapiContextInfo with all the sink caps. This implies to have, already,
> the negotiated color format.
> 
> Thus we have an "API level dead lock": we need the VA context to get the
> possible formats to upload, and we need to know the format to upload to
> create the VA context.

You can get the supported surface pixel formats with just a config, not
necessarily a context. Like ensure_formats() in gstvaapifilter.c

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