mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -05:00
gst: Add support for DMA_DRM / explicit modifiers
Gstreamer 1.24 added and largely switched to a new, modifier aware DMABuf API. Unfortunately that breaks the existing DMABuf support in the PW Gst element. Add support for the new API.
This commit is contained in:
parent
f2f60ee0ec
commit
f1b75fc6f8
6 changed files with 417 additions and 169 deletions
|
|
@ -5,6 +5,8 @@
|
|||
#ifndef __GST_PIPEWIRE_SRC_H__
|
||||
#define __GST_PIPEWIRE_SRC_H__
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/base/gstpushsrc.h>
|
||||
|
||||
|
|
@ -56,6 +58,9 @@ struct _GstPipeWireSrc {
|
|||
|
||||
gboolean is_video;
|
||||
GstVideoInfo video_info;
|
||||
#ifdef HAVE_GSTREAMER_DMA_DRM
|
||||
GstVideoInfoDmaDrm drm_info;
|
||||
#endif
|
||||
|
||||
gboolean negotiated;
|
||||
gboolean flushing;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue