bufferpool: prealloc when unset flushing
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 17 Feb 2011 17:37:19 +0000 (18:37 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 2 Mar 2011 10:23:21 +0000 (11:23 +0100)
commit2496523b3e379caadbfe85cda9eb5718f524b38a
tree0f5c9ea66c3a26672f2950e1af3e3180a6fa5c06
parent2b50d0a2f45e69485e4fd3567751bb0ae7514074
bufferpool: prealloc when unset flushing

According to the design doc we need to prealloc buffers when we unset the
flushing state, not in set_config.
Set the flushing state better.
gst/gstbufferpool.c