ndisrcdemux: Add no-more-pads signal
Emit no-more-pads if we are adding the second pad of the element.
@@ -280,6 +280,10 @@ impl NdiSrcDemux {
if add_pad {
element.add_pad(&srcpad).unwrap();
+ if element.num_src_pads() == 2 {
+ element.no_more_pads();
+ }
+
}
for ev in events {
