width = vinfo->width;
video_meta =
- gst_buffer_add_video_meta_full (buf, GST_VIDEO_FORMAT_NV12,
- GST_VIDEO_FRAME_FLAG_NONE, width, height, n_planes, offset, stride);
+ gst_buffer_add_video_meta_full (buf, GST_VIDEO_FRAME_FLAG_NONE,
+ GST_VIDEO_FORMAT_NV12, width, height, n_planes, offset, stride);
}
return buf;
GST_DEBUG_OBJECT (pool, "adding GstVideoMeta");
/* these are just the defaults for now */
- meta = gst_buffer_add_video_meta (pvr, GST_VIDEO_INFO_FORMAT (info),
- GST_VIDEO_FRAME_FLAG_NONE, pvrpool->padded_width,
+ meta = gst_buffer_add_video_meta (pvr, GST_VIDEO_FRAME_FLAG_NONE,
+ GST_VIDEO_INFO_FORMAT (info), pvrpool->padded_width,
pvrpool->padded_height);
if (G_UNLIKELY (meta == NULL))
GST_WARNING_OBJECT (pool, "Failed to add GstVideoMeta");