urisourcebin: src pads have no caps when added
I had to use urisourcebin parse-streams=true
manually and it's been trickier than anticipated. One cannot just connect the pad-added
signal, check the pad caps and add the elements to handle the stream as the pad at this point has no caps yet. Because of that I had to setup a blocking probe and wait for the caps event, which can be tricky if you're not so used with GStreamer.
Would it make sense to wait for the caps before exposing the src
pads and so make all this more convenient for users?