Fix some caps leaks in pad template creation code
authorGarima Gaur <garima.g@samsung.com>
Tue, 3 Jan 2017 03:32:36 +0000 (09:02 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 3 Jan 2017 10:02:58 +0000 (10:02 +0000)
commit81b0a14d692bb679c5688ef597e5aab6f0ce7730
tree7d680e89eee7615ff7780d0c9418636b2daf50fa
parente2fba4003863edb39ecd779204818497bbddb652
Fix some caps leaks in pad template creation code

gst_pad_template_new() does not take ownership of
the caps passed to it, so we need to unref the caps.

https://bugzilla.gnome.org/show_bug.cgi?id=776790
https://bugzilla.gnome.org/show_bug.cgi?id=776787
ext/opencv/gstcvdilateerode.cpp
ext/opencv/gstcvsmooth.cpp
gst/frei0r/gstfrei0rfilter.c
gst/frei0r/gstfrei0rsrc.c
sys/applemedia/vtenc.c
sys/vdpau/gstvdpvideopostprocess.c