video: add GST_VIDEO_DMA_DRM_CAPS_MAKE
It is requried this macro because it doesn't define format field, neither drm-format which is suppossed to be generated in run-time. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4981>
This commit is contained in:
parent
bc48588818
commit
8b38614173
@ -2812,6 +2812,13 @@ return to upstream/caller (indicating either GST_FLOW_ERROR or GST_FLOW_OK).</do
|
|||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function-macro>
|
</function-macro>
|
||||||
|
<constant name="VIDEO_DMA_DRM_CAPS_MAKE" value="video/x-raw(memory:DMABuf), format = (string) DMA_DRM, width = " c:type="GST_VIDEO_DMA_DRM_CAPS_MAKE" version="1.24">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-info-dma.h">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.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video-info-dma.h"/>
|
||||||
|
<type name="utf8" c:type="gchar*"/>
|
||||||
|
</constant>
|
||||||
<function-macro name="VIDEO_ENCODER" c:identifier="GST_VIDEO_ENCODER" introspectable="0">
|
<function-macro name="VIDEO_ENCODER" c:identifier="GST_VIDEO_ENCODER" introspectable="0">
|
||||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/video/gstvideoencoder.h"/>
|
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/video/gstvideoencoder.h"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -25,6 +25,22 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
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;
|
typedef struct _GstVideoInfoDmaDrm GstVideoInfoDmaDrm;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user