queue: avoid return flushing if we have a not-linked
authorThiago Santos <thiagossantos@gmail.com>
Wed, 15 Mar 2017 05:18:36 +0000 (22:18 -0700)
committerThiago Santos <thiagossantos@gmail.com>
Wed, 15 Mar 2017 05:20:04 +0000 (22:20 -0700)
commit058bdcfe6b6ae4c1ceb8c31560d2a9bffe075e1d
tree629bd0f043fb1f29ab0f795c47eaeeeb49164b85
parent045700e80ed3c5bb9c5af04a8dfa9d0210d05fe3
queue: avoid return flushing if we have a not-linked

Return the correct flow return instead of returning always flushing.
This would cause queue to convert not-linked to flushing and making
upstream elements stop.

Based on the previous patch for queue2.

https://bugzilla.gnome.org/show_bug.cgi?id=776999
plugins/elements/gstqueue.c