multiudpsink: Call gst_base_sink_wait_preroll on unlock
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 19 Dec 2017 21:47:52 +0000 (16:47 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 19 Dec 2017 21:47:52 +0000 (16:47 -0500)
commit6ea569841d5792517ef6c7ba057d289503a13fc6
treec6f6415852b3b820d2d411ae50e50cb1b0c9b865
parent0a15d1782bd801cdaa181048cd868c6112346919
multiudpsink: Call gst_base_sink_wait_preroll on unlock

This means that packets will not be lost on fast pause/playing cycles.

Also refactor the code a little to simplify it.

https://bugzilla.gnome.org/show_bug.cgi?id=774945
gst/udp/gstmultiudpsink.c