From f08bab4e864312e19e521703d9d883a36f9b7f33 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 19 Apr 2012 14:16:01 +0200 Subject: [PATCH] v4l2: update for video api change --- sys/v4l2/gstv4l2bufferpool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c index 76ed051235..80f41c75e4 100644 --- a/sys/v4l2/gstv4l2bufferpool.c +++ b/sys/v4l2/gstv4l2bufferpool.c @@ -197,8 +197,8 @@ gst_v4l2_buffer_pool_alloc_buffer (GstBufferPool * bpool, GstBuffer ** buffer, stride[0] = obj->bytesperline; GST_DEBUG_OBJECT (pool, "adding video meta, stride %d", stride[0]); - gst_buffer_add_video_meta_full (newbuf, GST_VIDEO_INFO_FORMAT (info), - GST_VIDEO_FRAME_FLAG_NONE, GST_VIDEO_INFO_WIDTH (info), + gst_buffer_add_video_meta_full (newbuf, GST_VIDEO_FRAME_FLAG_NONE, + GST_VIDEO_INFO_FORMAT (info), GST_VIDEO_INFO_WIDTH (info), GST_VIDEO_INFO_HEIGHT (info), GST_VIDEO_INFO_N_PLANES (info), offset, stride); }