After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693715 - gst_element_get_compatible_pad_template: use gst_pad_get_pad_template
gst_element_get_compatible_pad_template: use gst_pad_get_pad_template
Status: RESOLVED DUPLICATE of bug 692508
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-02-13 15:05 UTC by Niv Sardi
Modified: 2013-02-13 15:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst_element_get_compatible_pad_template: use gst_pad_get_pad_template (2.25 KB, patch)
2013-02-13 15:05 UTC, Niv Sardi
none Details | Review

Description Niv Sardi 2013-02-13 15:05:56 UTC
Created attachment 235888 [details] [review]
    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@evilgiggle.com>
Comment 1 Tim-Philipp Müller 2013-02-13 15:18:43 UTC

*** This bug has been marked as a duplicate of bug 692508 ***