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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 9 07:51:36 PDT 2014


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

Matthew Waters <ystreet00> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ystreet00 at gmail.com

--- Comment #3 from Matthew Waters <ystreet00 at gmail.com> 2014-04-09 14:51:31 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > 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.
> 
> As I said, I could do that (i.e. negotiate
> "video/x-raw(meta:GstVideoGLTextureUploadMeta), format=RGBA"), but it feels
> wrong because if any intermediate plugin tries for whatever reason to map the
> buffer and read its data, it will read data in a different format. It feels
> more natural to negotiate: "video/x-raw(meta:GstVideoGLTextureUploadMeta),
> format=I420, uploaded-format=RGBA"

If said intermediate plugin does not support the GstVideoGLTextureUploadMeta,
then you negotiate sysmem (or fail).  I can't think of a case for supporting
mapping buffers and using upload meta by the same element.

> > I'm leaving to needinfo, but let us know why you can't negotiate with caps
> > features.
> 
> You mean add another caps feature?

Negotiate between using GstVideoGLTextureUploadMeta or not.

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