queue2: stop waiting for more data after EOS
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 5 Apr 2012 08:03:02 +0000 (10:03 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 5 Apr 2012 08:17:46 +0000 (10:17 +0200)
commit67ccad0621d1867b8777c2ccafbf186046725de5
tree97c90f490e3dc1341f307ab39d7984cef6c4bf95
parent9a1185673e7e8a5308886d08f3e5afc18491d466
queue2: stop waiting for more data after EOS

When we have EOS, read the remaining bytes in the buffer and make sure we don't
wait for more data. Also clip the output buffer to the amount of remaining
bytes.
plugins/elements/gstqueue2.c