mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
v4l2: update for video api change
This commit is contained in:
parent
85d4dde9d1
commit
f08bab4e86
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue