summaryrefslogtreecommitdiff
path: root/sys/vdpau/gstvdp/gstvdpvideosrcpad.c
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-30 11:01:15 +0200
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-30 11:33:13 +0200
commitd82c4acd8a6f7580c3ff69a356920e51a8096423 (patch)
treef4f0389fa168ae6d6e4188410f9a05cf73a2c1d1 /sys/vdpau/gstvdp/gstvdpvideosrcpad.c
parent7320eedc04602afc46994256093cf49a8e444d17 (diff)
downloadgstreamer-plugins-bad-d82c4acd8a6f7580c3ff69a356920e51a8096423.tar.gz
vdpau: add GstVdpVideoBufferPool
GstVdpVideoBufferPool is a subclass of GstVdpBuffer that caches GstVdpVideoBuffers
Diffstat (limited to 'sys/vdpau/gstvdp/gstvdpvideosrcpad.c')
-rw-r--r--sys/vdpau/gstvdp/gstvdpvideosrcpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vdpau/gstvdp/gstvdpvideosrcpad.c b/sys/vdpau/gstvdp/gstvdpvideosrcpad.c
index db2f7d9f7..7c8444b8d 100644
--- a/sys/vdpau/gstvdp/gstvdpvideosrcpad.c
+++ b/sys/vdpau/gstvdp/gstvdpvideosrcpad.c
@@ -182,7 +182,7 @@ gst_vdp_video_src_pad_alloc_buffer (GstVdpVideoSrcPad * vdp_pad,
GstVdpDevice *device = vdp_pad->device;
*video_buf = gst_vdp_video_buffer_new (device, VDP_CHROMA_TYPE_420,
- vdp_pad->width, vdp_pad->height);
+ vdp_pad->width, vdp_pad->height, NULL);
if (!*video_buf)
goto video_buf_error;