inputselector: Fix getcaps and event function from last commit
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 8 Apr 2011 12:50:10 +0000 (14:50 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 8 Apr 2011 12:50:10 +0000 (14:50 +0200)
commitba6054b862403a052f21adc5422c05bd4ce46c38
tree18a6cdbb03bc1a688b41e286d2632542d31faec3
parent297407438a1ccacb782517d2dbd14146778e4b2f
inputselector: Fix getcaps and event function from last commit

Return ANY caps if the parent disappeared, i.e. the template caps
and don't leak events if the parent disappeared.
plugins/elements/gstinputselector.c