pvrvideosink: implement copy vmethod in buffer subclass
authorRob Clark <rob@ti.com>
Thu, 29 Dec 2011 06:20:51 +0000 (00:20 -0600)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Fri, 4 May 2012 01:18:00 +0000 (21:18 -0400)
commitcd6471fd4052682e22b7287bf81e279fd2c314fd
tree5f9be982232d778c3866bceab60e225cb3ab12c1
parent0bad57d2b3cf0f340134989198a8efed920ad622
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