[Bug 697112] New: Revamp GstSurfaceMeta

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 2 07:54:01 PDT 2013


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

           Summary: Revamp GstSurfaceMeta
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: gb.devel at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Hi,

The GstSurfaceMeta is not really usable as is. I think it would be much simpler
to simply make gst_surface_meta_create_converter() take a GstBuffer instead of
a GstSurfaceMeta, unless it is possible to retrieve the parent GstBuffer from a
GstMeta. Likewise, GstSurfaceMeta::create_converter would also take a GstBuffer
argument. That way, we will have similar semantics to older 0.10
GstSurfaceBuffer.

No patch yet, as I am undecided on whether (i) I simply nuke GstSurfaceMeta arg
away and replace it with GstBuffer, or (ii) simply add GstBuffer after the
GstSurfaceMeta * argument. I would favor option (i) for now.

However, for OpenGL use cases, there is still the question how do we get the
original GL context? Would the client application or library actually allow
exposure of its internal GL context, from which the GL texture was created
from?

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