Fix memory management in gstjoinable

Change-Id: I21f1aa0581aec811576a8f781d30ee66fabf4ad0
Fix memory management in gstudpstream

Change-Id: I12c9337133e7499da48b6b8efb0369d50fb111a5
Change function name

Use finalize_* family names rather than dispose_* ones for socket
management so they are more descriptive than the former ones because
they announce that they not only close sockets (finalize underlaying
communciation) but also release resources allocated by them. Furthermore,
they are also used during GObject life cycle to release resources
when finalize callback takes place, so this name is more natural from the
point of view of Glib developers.

Change-Id: I9f67aaaeac7cc0bc0416cd65e9ccc031b22b584f
Turn automuxerbin element into an auto adaptative one

Current implementation only provides a source pad when both audio and video
media are requested to the bin, no more requested pads are taken into account.
This version provides an output source pad as soon as a new pad is requested,
and it reconfigures itself when a new requested pad callback is managed, no
matter what kind of media it is, audio, video or even subtittles are supported.

Change-Id: I80220ca5c5661b14b906ed1922582c84f9116bc2
Change automuxerbin sink pad names

Many muxers use audio_%u, video_%u and so on for their sink pads names without
using the extra tag "sink". It would be more natural from the point of view of
a gstreamer developer to change it to be along the lines of the ones used by
other muxers.

Change-Id: If830ce0648aea7a937376488d2f9698e04a09632
Send an EOS event to the muxer that is going to be replaced

This patch forces the muxer to drain its data before being removed.
This patch also fixes the bug concerning the removal of the muxer
when it has not reached the NULL state yet. We make sure that it is
safe to remove the muxer once the EOS event is retrieved from its
source pad.

Change-Id: I5ddeb63797e48f10d2c220792a5efd53deb3b2fc
Rename GstJoinable to KmsElement

Change-Id: I3c4a2d41948c3503038b0225dd00c7ecde38f01c
Rename GstBaseStream to KmsBasseSdpEndPoint

Change-Id: Ia5a7fbc30ace64e0ceccd7c9aef106b0eb1b82ea
Rename GstBaseRtpStream to KmsBaseRtpEndPoint

Change-Id: Ia10730fb6112a325ea1b4dec47e0c7a17e196b63
Rename GstUdpStream to KmsRtpEndPoint

Change-Id: Id6bef1f03fc076900d87dc8e5b4a4948edaf8666
Rename GstAgnosticBin to KmsAgnosticBin

Change-Id: I6a4201660f74712388d5527341d44f6f9196e836
Change prefix of generated marshal codes

Change-Id: I62e37fba2ad5ff8948bdbf9eeb0697780e87999e
Rename gstkurento to ksmplugin

Change-Id: I15efdf324d82a751d619bc1046b480c168edaa0d
Source code cosmetic changes

Change-Id: Iaa343d83be0d04aec82713c833c33eff2e0ac6d4
Rename gstautomuxerbin to kmsautomuxerbin

Change-Id: I12afe0f7179d78266aba775e10a51f221ab6085f
Add error message when a typefind detects a new media type

Change-Id: I2c0bff11698f4c37a7bd253692146f2637472927
Add KmsRecorderEndPoint basic template

Change-Id: Iee45b1b003aa13d9eb66cb58c47774c65e0379b8
Add plugin for filters

Change-Id: Ibb6767770bcb2596a6da86c7db9d1f82eb094fc1
Add template for filter kmspointerdetector

Change-Id: I8afc728281304170589d70df10dab7ff43d00964
Remove unnecessary compilation flags

Change-Id: I3c958d6cf6629442479ad4b806a43c564c036ac5