queue2: don't wait for data when EOS
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 7 Jun 2010 08:16:04 +0000 (10:16 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 7 Jun 2010 08:19:30 +0000 (10:19 +0200)
commit15141b3954fdfb46002783463f1cace148480fe9
tree9b8e560f7d82f6b9d43dac0e4fcb1c1f02ba9c90
parent28fdbee35a216555bd4a0c814e0e520e41e9c2e7
queue2: don't wait for data when EOS

When in download mode and we need to provide data for an offset that we don't
have, also perform a seek to the requested location when we are EOS. The reason
why we shouldn't wait for more data is because after EOS, there simply will be
no more data and we end up waiting forever.

Fixes #620500
plugins/elements/gstqueue2.c