pvrvideosink: implement copy vmethod in buffer subclass
authorRob Clark <rob@ti.com>
Thu, 29 Dec 2011 06:20:51 +0000 (00:20 -0600)
committerRob Clark <rob@ti.com>
Sat, 31 Dec 2011 20:52:15 +0000 (14:52 -0600)
commit3bdae8435d0084415888e42e99cb7498722d6826
tree23db6b7a6952fd626780c8dee4a3593686a8bd99
parentc96abe9b0b49815d82e7986eaf10bb837328c529
pvrvideosink: implement copy vmethod in buffer subclass

When upstream element needs a writeable buffer (ex. dvdspu), it will call
gst_buffer_make_writable(), which will use the copy vmethod to create a
copy of the buffer.  Implement copy vmethod so we don't end up having to
copy back into a bufferpool buffer in order to render.
sys/pvr2d/gstpvrbufferpool.c
sys/pvr2d/gstpvrbufferpool.h
sys/pvr2d/gstpvrvideosink.c