ndisrcdemux: Use ANY caps in the pad templates of ndisrcdemux

When using the Advanced SDK it is possible to output compressed formats
too.
This commit is contained in:
Sebastian Dröge 2022-06-22 13:07:15 +03:00
parent 26f843a89f
commit 1c43a51520

View file

@ -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();