bufferpool: Refactor stopping of the pool
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 21 Feb 2011 17:43:19 +0000 (18:43 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 2 Mar 2011 10:23:21 +0000 (11:23 +0100)
commit0986f3a64ad50ad5c4e2e791f13d22a1d26b655a
treed58ce4d9b020f3cd6ede870dc780279da4481605
parente566910a18aebace3b95791612225d37394e605d
bufferpool: Refactor stopping of the pool

Move some methods around.
Make sure we check for config parsing errors.
Increment the outstanding buffers before calling acquire so that we can be sure
that set_active() doesn't free the pool from under us.
gst/gstbufferpool.c