kmssink: don't allow visible buffer to return to pool
authorRob Clark <rob@ti.com>
Tue, 12 Jun 2012 18:13:29 +0000 (13:13 -0500)
committerRob Clark <rob@ti.com>
Thu, 14 Jun 2012 00:31:35 +0000 (19:31 -0500)
commit3fd93101ca4047b56d286eb7979c17c156ade774
tree81991cd5ea7b564dade371c3e0415edf07815ab4
parentaf3d0118cc55415fadd06ab2419febfc0be83c48
kmssink: don't allow visible buffer to return to pool

Since we don't current get a vblank event, just keep the current and
last frame ref'd so they don't get returned to the decoder while they
are potentially visible.
sys/kms/gstkmssink.c
sys/kms/gstkmssink.h