[Bug 788503] New: fix the check for dmabuf handling in downstream

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 4 10:06:06 UTC 2017


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

            Bug ID: 788503
           Summary: fix the check for dmabuf handling in downstream
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vjaquez at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

Intially the check if the sink could handle dmabuf importing, it was
in the function gst_vaapi_plugin_set_gl_context() since it was only
called by decide_allocation() vmethod, when GstGLUploadTexture feature
was negotiated.

Later, when the vaapi elements create their own GL context, if there
is none in the pipeline, gst_vaapi_plugin_set_gl_context() was called,
breaking the intent of the original function.

Thus dmabuf handeling in dowstream is true if the GstGLContext 
(created or shared) is capable, but not restricted to downstream.

The following patch serie fix that problem.

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