mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-04 10:43:53 +00:00
Merge branch 'webrtc' into 'main'
Draft: webrtcsink: Add DMABuf support See merge request gstreamer/gst-plugins-rs!2395
This commit is contained in:
commit
98b3fc64da
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,7 @@ const CUDA_MEMORY_FEATURE: &str = "memory:CUDAMemory";
|
|||
const GL_MEMORY_FEATURE: &str = "memory:GLMemory";
|
||||
const NVMM_MEMORY_FEATURE: &str = "memory:NVMM";
|
||||
const D3D11_MEMORY_FEATURE: &str = "memory:D3D11Memory";
|
||||
const DMABUF_MEMORY_FEATURE: &str = "memory:DMABuf";
|
||||
|
||||
const RTP_TWCC_URI: &str =
|
||||
"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01";
|
||||
|
@ -5336,6 +5337,10 @@ impl ElementImpl for BaseWebRTCSink {
|
|||
.structure_with_features(
|
||||
gst::Structure::builder("video/x-raw").build(),
|
||||
gst::CapsFeatures::new([D3D11_MEMORY_FEATURE]),
|
||||
)
|
||||
.structure_with_features(
|
||||
gst::Structure::builder("video/x-raw").build(),
|
||||
gst::CapsFeatures::new([DMABUF_MEMORY_FEATURE]),
|
||||
);
|
||||
|
||||
// Ignore specific raw caps from Codecs: they are covered by video/x-raw & audio/x-raw
|
||||
|
|
Loading…
Reference in a new issue