opus: Improve annotation of internal function

https://bugzilla.gnome.org/show_bug.cgi?id=734543
gstgsmenc: Unref caps object after usage

gst_audio_encoder_set_output_format() does not consume caps, so
unreference that object instead.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734544
element-maker: Avoid leaking copy of caps object

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734539
tests: remove defunct test code for old colorspace element

https://bugzilla.gnome.org/show_bug.cgi?id=734538
dfbvideosink: Unref pad template caps after usage

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734518
ladspa: Unref pad template caps after usage

https://bugzilla.gnome.org/show_bug.cgi?id=734519
ladspa: Unref pad template caps after usage

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734519
videoaggregator: Unref allowed caps after usage

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734522
dvbsuboverlay: Avoid leaking copy of caps object

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734528
interlace: fix caps refcounting

tcaps was unrefed when it shouldn't have been unrefed
in some cases.

https://bugzilla.gnome.org/show_bug.cgi?id=734531
amcvideoenc: Avoid leaking copy of caps object

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.
Also remove the incorrect comment to avoid confusion in the future.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734533
vtenc: Avoid leaking caps object and its copy

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak. Also
the caps are pushed as an event downstream, but this doesn't consume the
caps so it must still be unreferenced.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734534
directsoundsrc: Avoid leaking copy of caps object

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734536
pvrvideosink: Avoid leaking bufferpool configuration

gst_buffer_pool_get_config() returns a copy to the bufferpool's
configuration, which must be passed to gst_structure_free() after
use if not given away to gst_buffer_pool_set_config().

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734537
ladspa: fix up broken patch merge

Sorry, should've been commit --amend
openal: Unref pad template caps after usage

https://bugzilla.gnome.org/show_bug.cgi?id=734520
gl/examples: Unref bus and element after usage

gst_pipeline_get_bus() and gst_bin_get_by_interface() both
return references that need to be unreferenced after usage.

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