multiqueue: Don't do an infinite loop in the loop function
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 27 Aug 2010 14:52:12 +0000 (16:52 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 27 Aug 2010 14:59:09 +0000 (16:59 +0200)
commit33082eb9e42c52e4df848195946f1b7bbce768c5
treea7e5891ae33aa002d9215d99b52178045e6006f3
parent8035f13bbf5a87e1c3b392044927ed6c5bd25f1b
multiqueue: Don't do an infinite loop in the loop function

Instead return after every iteration, which makes sure that the
stream lock is released for a short time after every iteration,
task state changes are checked, etc and this allows the task
to be stopped properly.
plugins/elements/gstmultiqueue.c