shmsink: Block in preroll_wait on unlock
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 19 Dec 2017 22:35:39 +0000 (17:35 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 19 Dec 2017 22:41:43 +0000 (17:41 -0500)
commite19e02db930d4992e43a46152f555af038dd2f72
treea20adc0e92c52778b35daa7347042e5617a61ea8
parent536cb125773f36ecc46815e72ffa7ae2bba783d7
shmsink: Block in preroll_wait on unlock

The correct behaviour of anything stuck in the ->render() function
between ->unlock() and ->unlock_stop() is to call
gst_base_sink_wait_preroll() and only return an error if this returns an
error, otherwise, it must continue where it left off!

https://bugzilla.gnome.org/show_bug.cgi?id=774950
sys/shm/gstshmsink.c