[Bug 693715] New: gst_element_get_compatible_pad_template: use gst_pad_get_pad_template

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 13 07:09:44 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=693715
  GStreamer | gstreamer (core) | 1.x

           Summary: gst_element_get_compatible_pad_template: use
                    gst_pad_get_pad_template
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: xaiki at evilgiggle.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=235888)
 View: https://bugzilla.gnome.org/attachment.cgi?id=235888
 Review: https://bugzilla.gnome.org/review?bug=693715&attachment=235888

    gst_element_get_compatible_pad_template: use gst_pad_get_pad_template

motivation comes from: /* FIXME: why not gst_pad_get_pad_template (pad); */
    this code path is quite nicer, we now only revert to creating the template
    if gst_pad_get_pad_template fails.

    with this fork, we gain a non-allocation of GstCaps *templcaps

    Signed-off-by: Niv Sardi <xaiki at evilgiggle.com>

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