inputselector: Try to not push read-only buffers
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 25 Apr 2013 14:38:49 +0000 (16:38 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 25 Apr 2013 14:39:52 +0000 (16:39 +0200)
commita257cb6f5b198e76d6e4e425b8766f46979af411
treef6b2ba430fe0c68473421f4a7cd64635c8082f2a
parentef0e9b6840662cca639a2c03958f91f983653abd
inputselector: Try to not push read-only buffers

We should only increase the refcount before pushing if we're
really going to use the buffer afterwards.
plugins/elements/gstinputselector.c