rtsp-media: Handle multiple dynamic elements
authorEdward Hervey <edward@centricular.com>
Mon, 20 Nov 2017 08:32:07 +0000 (09:32 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 20 Nov 2017 08:38:49 +0000 (09:38 +0100)
commit2386e91c3642f3a83de6a74c981e0b9ac85a3dd1
tree3f1f74b285ab6c941ce8d00753756d20f0f17e49
parent899a6cbe3574bb67547062f0f14e916f9bc0778a
rtsp-media: Handle multiple dynamic elements

If we have more than one dynamic payloader in the pipeline, we need
to wait until the *last* one emits 'no-more-pads' before switching
to PREPARED.

Failure to do so would result in a race where some of the streams
wouldn't properly be prepared

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