[Bug 761218] New: Use gst_pad_peer_query_caps() instead of using gst_pad_get_allowed_caps() to make negotiated output caps before forwarding GAP event

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 27 20:59:37 PST 2016


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

            Bug ID: 761218
           Summary: Use gst_pad_peer_query_caps() instead of using
                    gst_pad_get_allowed_caps() to make negotiated output
                    caps before forwarding GAP event
    Classification: Platform
           Product: GStreamer
           Version: 1.7.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: hoonh83.lee at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Dear All.
When making output caps before handling GAP event, gst_pad_get_allowed_caps()
may return NULL if the srcpad has no peer.
It is better to use gst_pad_peer_query_caps() with filter(e.g. source pads
template caps) to have negotiated output caps properly before forwarding GAP
event. It will never return NULL and we can make output caps properly before
forwarding GAP event.

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