mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
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:
parent
38f88d3d25
commit
023577e391
5 changed files with 93 additions and 0 deletions
|
|
@ -27,6 +27,8 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
|
||||
#include <gst/video/video.h>
|
||||
|
||||
#include <pipewire/pipewire.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
|
@ -66,6 +68,9 @@ struct _GstPipeWirePool {
|
|||
struct pw_stream *stream;
|
||||
struct pw_type *t;
|
||||
|
||||
gboolean add_metavideo;
|
||||
GstVideoInfo video_info;
|
||||
|
||||
GstAllocator *fd_allocator;
|
||||
GstAllocator *dmabuf_allocator;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue