viddec: Do not rely on the decoder setting freeBufID to unref our buffers when possible
authorThibault Saunier <thibault.saunier@collabora.com>
Wed, 5 Sep 2012 19:55:29 +0000 (16:55 -0300)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 5 Sep 2012 19:55:29 +0000 (16:55 -0300)
commit0cbce5a13aafcb7c6a6c82d54f3a096c5c7f879e
treef8d806e5e7ce81a5bc6452aed9897ec02259d38f
parentd3dc91e9a4d3fcb15c248975b3cd3bfce7ffdad5
viddec: Do not rely on the decoder setting freeBufID to unref our buffers when possible

In some corner cases this is not reliable and once a buffer is processed and pushed through the
pad we can just drop our references without any problem.
src/gstducatividdec.c