gst_element_get_compatible_pad_template: use gst_pad_get_pad_template
Submitted by Niv Sardi
Link to original bug (#692508)
Description
Created attachment 234371
0001-gst_element_get_compatible_pad_template-use-gst_pad_.patch
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>
Patch 234371, "0001-gst_element_get_compatible_pad_template-use-gst_pad_.patch":
0001-gst_element_get_compatible_pad_template-use-gst_pad_.patch