inputselector: Return GST_FLOW_OK until the selected pad pushed something downstream
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 16 Mar 2011 17:19:11 +0000 (18:19 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 17 Mar 2011 11:06:39 +0000 (12:06 +0100)
commitf19bb850acb3863ce1ed26407593d9ea42b78c8f
tree0327ee15336f9d127bdee51bd7cb845758a9b85b
parentb8d83f4e018d5e3e57f650399835e6efb0214b09
inputselector: Return GST_FLOW_OK until the selected pad pushed something downstream

This makes sure that during switches at no point in time all pads
have returned not-linked, which can happen when playing an audio-only
file with playbin2 and switching between the streams for example.

Fixes bug #644935.
plugins/elements/gstinputselector.c