basesrc: call _stop when start failed
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 Dec 2012 13:48:35 +0000 (14:48 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 Dec 2012 13:48:35 +0000 (14:48 +0100)
commit6e6fc159a7c22eecbf04086c72cb182bad4ed7d3
tree5f146d01aa71b83357fc2814745b78a0b99c42f1
parente58dabc75047d92f80cc44d09c9081df7cfd819f
basesrc: call _stop when start failed

When we failed to complete the start, call stop again. This makes sure that all
successfull calls to _start are paired with a _stop.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687845
libs/gst/base/gstbasesrc.c