I've got my own custom element, lets call it MyElement. It has request sink pads, and sometimes source pads. When a source pad is created, MyElement emits a signal which can be intercepted by user. In callback registered with this signal, user can link new source pad with other pad.
The problem is, that MyElement works fine when I try to link its source pads to filesinks directly or via identity elements. However when instead I try to link source pads to the interleave element, pipeline fails.
Similar error happens when I connect MyElement's sources to identity elements with 'dump' property set to true.
What is my element/pipeline missing, that makes pipeline with interleave fail?