From 02dc419aaee0785facaf8e01faf425e223b8fe71 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 15 Mar 2012 14:06:24 +0100 Subject: [PATCH] update for bufferpool api change --- gst-libs/gst/video/gstvideopool.c | 2 +- sys/ximage/ximagepool.c | 2 +- sys/xvimage/xvimagepool.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/video/gstvideopool.c b/gst-libs/gst/video/gstvideopool.c index c547a801e9..2f27a75091 100644 --- a/gst-libs/gst/video/gstvideopool.c +++ b/gst-libs/gst/video/gstvideopool.c @@ -237,7 +237,7 @@ wrong_caps: static GstFlowReturn video_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer, - GstBufferPoolParams * params) + GstBufferPoolAcquireParams * params) { GstVideoBufferPool *vpool = GST_VIDEO_BUFFER_POOL_CAST (pool); GstVideoBufferPoolPrivate *priv = vpool->priv; diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c index 4c3f5937f2..383047651e 100644 --- a/sys/ximage/ximagepool.c +++ b/sys/ximage/ximagepool.c @@ -558,7 +558,7 @@ wrong_caps: /* This function handles GstXImageBuffer creation depending on XShm availability */ static GstFlowReturn ximage_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer, - GstBufferPoolParams * params) + GstBufferPoolAcquireParams * params) { GstXImageBufferPool *xpool = GST_XIMAGE_BUFFER_POOL_CAST (pool); GstXImageBufferPoolPrivate *priv = xpool->priv; diff --git a/sys/xvimage/xvimagepool.c b/sys/xvimage/xvimagepool.c index eac9f23143..08ce654509 100644 --- a/sys/xvimage/xvimagepool.c +++ b/sys/xvimage/xvimagepool.c @@ -606,7 +606,7 @@ unknown_format: /* This function handles GstXImageBuffer creation depending on XShm availability */ static GstFlowReturn xvimage_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer, - GstBufferPoolParams * params) + GstBufferPoolAcquireParams * params) { GstXvImageBufferPool *xvpool = GST_XVIMAGE_BUFFER_POOL_CAST (pool); GstXvImageBufferPoolPrivate *priv = xvpool->priv;