rtsp-media: Don't unblock with remaining dynamic payloaders
authorEdward Hervey <bilboed@bilboed.com>
Mon, 20 Nov 2017 17:30:19 +0000 (18:30 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 21 Nov 2017 06:59:15 +0000 (07:59 +0100)
commit6371f2fc294ef427351a470532c27bfe2caa9acb
tree7cc66c5f2bcc76d49207d068396f884c4c42b76c
parentd1a6418fe29915b1ff6b91d8a252500a25f56c03
rtsp-media: Don't unblock with remaining dynamic payloaders

If we still have some dynamic paylaoders which haven't posted
no-more-pads yet, don't go to PREPARED if one of the streams
blocked.

The risk was that we would end up not exposing/using all specified
streams.

The downside is that if you have _multiple_ _live_ _dynamic_ payloaders
then it will take a bit more time to start. But only if those 3
conditions are present.

https://bugzilla.gnome.org/show_bug.cgi?id=769521
gst/rtsp-server/rtsp-media.c