multiqueue: do not reset last push result when pushing events
authorThiago Santos <ts.santos@sisa.samsung.com>
Mon, 10 Mar 2014 12:48:58 +0000 (09:48 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Mon, 10 Mar 2014 12:48:58 +0000 (09:48 -0300)
commitb6470a7b3f26c203112db57b58afe8533b877963
treed2400c3155766d3d6c8f0b9172b49961eb4267b3
parent313f01ab79c9377c05bc1ca4f9c24a5cd522c2be
multiqueue: do not reset last push result when pushing events

Use the last result as a default when pushing a item from a single queue,
otherwise the status gets reset to _OK when pushing events.

This causes problems when mistakenly activating a not-linked stream
that is being ignored upstream as it is not being used (adaptive
scenarios), it will make the multiqueue post a buffering message
on a pad that won't receive buffers

https://bugzilla.gnome.org/show_bug.cgi?id=725917
plugins/elements/gstmultiqueue.c