[Bug 727886] GstVideoGLTextureUploadMeta assumes no color conversion is done during upload

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 9 06:40:39 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=727886
  GStreamer | gst-plugins-base | git

Nicolas Dufresne <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
                 CC|                            |nicolas.dufresne at collabora.
                   |                            |co.uk

--- Comment #1 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-04-09 13:40:37 UTC ---
(In reply to comment #0)
> Unfortunately, there is no way to negotiate this properly. We could set the
> format in the caps to be RGB, but that is wrong because if you map the buffer
> before uploading it, the data is not necessarily RGB. Another way would be a
> flag in the UploadMeta, but 1) there is no padding to add that in the structure
> and 2) the sink should ideally know this information early (during caps
> negotiation probably) in order to initialize its internal state before the
> first buffer arrives. Maybe the best would be a field in the caps... something
> like "uploaded-format=(string)xRGB" ?

I don't think this is true. I think this only means that if you have negotiated
the UploadMeta caps feature, the corresponding negotiated format shall be in
RGB, for sysmem negotiation, it should  be YUV.

I'm leaving to needinfo, but let us know why you can't negotiate with caps
features.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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