Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/net/ndi
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-06-22 13:07:15 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-10-12 21:29:07 +0300
commit1c43a515205b72fbc6bc8824af013870a157b93f (patch)
tree5409310af23e76cd6b8cfbca05bffc4117095d31 /net/ndi
parent26f843a89f5918a287608fc2dcd1edd39d71770d (diff)
ndisrcdemux: Use ANY caps in the pad templates of ndisrcdemux
When using the Advanced SDK it is possible to output compressed formats too.
Diffstat (limited to 'net/ndi')
-rw-r--r--net/ndi/src/ndisrcdemux/imp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ndi/src/ndisrcdemux/imp.rs b/net/ndi/src/ndisrcdemux/imp.rs
index d371eff4..fb5f70de 100644
--- a/net/ndi/src/ndisrcdemux/imp.rs
+++ b/net/ndi/src/ndisrcdemux/imp.rs
@@ -102,7 +102,7 @@ impl ElementImpl for NdiSrcDemux {
"audio",
gst::PadDirection::Src,
gst::PadPresence::Sometimes,
- &gst::Caps::builder("audio/x-raw").build(),
+ &gst::Caps::new_any(),
)
.unwrap();
@@ -110,7 +110,7 @@ impl ElementImpl for NdiSrcDemux {
"video",
gst::PadDirection::Src,
gst::PadPresence::Sometimes,
- &gst::Caps::builder("video/x-raw").build(),
+ &gst::Caps::new_any(),
)
.unwrap();