diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-04-04 17:51:34 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-04-04 19:00:18 +0100 |
commit | 788fed202d51bd1632817af71928567d474f7e3e (patch) | |
tree | 6bbe06f92f5b0a49260ba382aa112b4ed2d309df /tests/examples/switch/switcher.c | |
parent | 0eea919fae0801a66f7e78a476d6c4cc59de8fc8 (diff) | |
download | gst-plugins-bad-788fed202d51bd1632817af71928567d474f7e3e.tar.gz gst-plugins-bad-788fed202d51bd1632817af71928567d474f7e3e.tar.bz2 gst-plugins-bad-788fed202d51bd1632817af71928567d474f7e3e.zip |
bz2: fix some refcount mistakes and do some cleaning up
No need to unref buffers if pad_push returns something non-FLOW_OK.
In fact, this will cause assertions or crashes. However, we do need
to unref the input buffer whenever we don't pass it downstream. Also,
a non-OK flow return is not an error, so don't post error messages on
the bus - the pipeline may just be shutting down. Miscellaneous other
clean-ups and crack removal. Plenty of work left for those who feel
like it.
Diffstat (limited to 'tests/examples/switch/switcher.c')
0 files changed, 0 insertions, 0 deletions