gst: add buffer video meta support

Fixes video buffer strides handling.
This enables passing of image datas with right line padding.
This commit is contained in:
Huang-Huang Bao 2023-02-03 13:02:49 +08:00 committed by Wim Taymans
parent 38f88d3d25
commit 023577e391
5 changed files with 93 additions and 0 deletions

View file

@ -28,6 +28,8 @@
#include <gst/gst.h>
#include <gst/base/gstpushsrc.h>
#include <gst/video/video.h>
#include <pipewire/pipewire.h>
#include <gst/gstpipewirepool.h>
#include <gst/gstpipewirecore.h>
@ -71,6 +73,9 @@ struct _GstPipeWireSrc {
GstCaps *caps;
gboolean is_video;
GstVideoInfo video_info;
gboolean negotiated;
gboolean flushing;
gboolean started;