update for bufferpool api change
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 15 Mar 2012 13:06:24 +0000 (14:06 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 15 Mar 2012 13:06:24 +0000 (14:06 +0100)
gst-libs/gst/video/gstvideopool.c
sys/ximage/ximagepool.c
sys/xvimage/xvimagepool.c

index c547a80..2f27a75 100644 (file)
@@ -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;
index 4c3f593..3830476 100644 (file)
@@ -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;
index eac9f23..08ce654 100644 (file)
@@ -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;