mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-06 06:35:53 +00:00
update for bufferpool api change
This commit is contained in:
parent
df5253b22c
commit
02dc419aae
|
@ -237,7 +237,7 @@ wrong_caps:
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
video_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer,
|
video_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer,
|
||||||
GstBufferPoolParams * params)
|
GstBufferPoolAcquireParams * params)
|
||||||
{
|
{
|
||||||
GstVideoBufferPool *vpool = GST_VIDEO_BUFFER_POOL_CAST (pool);
|
GstVideoBufferPool *vpool = GST_VIDEO_BUFFER_POOL_CAST (pool);
|
||||||
GstVideoBufferPoolPrivate *priv = vpool->priv;
|
GstVideoBufferPoolPrivate *priv = vpool->priv;
|
||||||
|
|
|
@ -558,7 +558,7 @@ wrong_caps:
|
||||||
/* This function handles GstXImageBuffer creation depending on XShm availability */
|
/* This function handles GstXImageBuffer creation depending on XShm availability */
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
ximage_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer,
|
ximage_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer,
|
||||||
GstBufferPoolParams * params)
|
GstBufferPoolAcquireParams * params)
|
||||||
{
|
{
|
||||||
GstXImageBufferPool *xpool = GST_XIMAGE_BUFFER_POOL_CAST (pool);
|
GstXImageBufferPool *xpool = GST_XIMAGE_BUFFER_POOL_CAST (pool);
|
||||||
GstXImageBufferPoolPrivate *priv = xpool->priv;
|
GstXImageBufferPoolPrivate *priv = xpool->priv;
|
||||||
|
|
|
@ -606,7 +606,7 @@ unknown_format:
|
||||||
/* This function handles GstXImageBuffer creation depending on XShm availability */
|
/* This function handles GstXImageBuffer creation depending on XShm availability */
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
xvimage_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer,
|
xvimage_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer,
|
||||||
GstBufferPoolParams * params)
|
GstBufferPoolAcquireParams * params)
|
||||||
{
|
{
|
||||||
GstXvImageBufferPool *xvpool = GST_XVIMAGE_BUFFER_POOL_CAST (pool);
|
GstXvImageBufferPool *xvpool = GST_XVIMAGE_BUFFER_POOL_CAST (pool);
|
||||||
GstXvImageBufferPoolPrivate *priv = xvpool->priv;
|
GstXvImageBufferPoolPrivate *priv = xvpool->priv;
|
||||||
|
|
Loading…
Reference in a new issue