diff --git a/girs/GstVideo-1.0.gir b/girs/GstVideo-1.0.gir index 1c5603d56a..c2ce3231bd 100644 --- a/girs/GstVideo-1.0.gir +++ b/girs/GstVideo-1.0.gir @@ -2812,6 +2812,13 @@ return to upstream/caller (indicating either GST_FLOW_ERROR or GST_FLOW_OK). + + Generic caps string for video wit DMABuf(GST_CAPS_FEATURE_MEMORY_DMABUF) +feature, for use in pad templates. As drm-format is supposed to be defined +at run-time it's not predefined here. + + + diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/video-info-dma.h b/subprojects/gst-plugins-base/gst-libs/gst/video/video-info-dma.h index 15e6a87c48..a0f9246dae 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/video-info-dma.h +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/video-info-dma.h @@ -25,6 +25,22 @@ G_BEGIN_DECLS +/** + * GST_VIDEO_DMA_DRM_CAPS_MAKE: + * + * Generic caps string for video wit DMABuf(GST_CAPS_FEATURE_MEMORY_DMABUF) + * feature, for use in pad templates. As drm-format is supposed to be defined + * at run-time it's not predefined here. + * + * Since: 1.24 + */ +#define GST_VIDEO_DMA_DRM_CAPS_MAKE \ + "video/x-raw(memory:DMABuf), " \ + "format = (string) DMA_DRM, " \ + "width = " GST_VIDEO_SIZE_RANGE ", " \ + "height = " GST_VIDEO_SIZE_RANGE ", " \ + "framerate = " GST_VIDEO_FPS_RANGE + typedef struct _GstVideoInfoDmaDrm GstVideoInfoDmaDrm; /**