mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 21:41:03 +00:00
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:
parent
26f843a89f
commit
1c43a51520
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ impl ElementImpl for NdiSrcDemux {
|
||||||
"audio",
|
"audio",
|
||||||
gst::PadDirection::Src,
|
gst::PadDirection::Src,
|
||||||
gst::PadPresence::Sometimes,
|
gst::PadPresence::Sometimes,
|
||||||
&gst::Caps::builder("audio/x-raw").build(),
|
&gst::Caps::new_any(),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ impl ElementImpl for NdiSrcDemux {
|
||||||
"video",
|
"video",
|
||||||
gst::PadDirection::Src,
|
gst::PadDirection::Src,
|
||||||
gst::PadPresence::Sometimes,
|
gst::PadPresence::Sometimes,
|
||||||
&gst::Caps::builder("video/x-raw").build(),
|
&gst::Caps::new_any(),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue