v4l2sink: Block in preroll_wait on unlock
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 23 Nov 2016 17:17:55 +0000 (12:17 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 5 Apr 2017 13:05:03 +0000 (09:05 -0400)
commitb30dee98e694f0977192441a969e610b4adb15ec
tree4851e3583e6e00055292625df06910c6db0aee3b
parentcd309f31a0fca0ce19adab1d798284799a3cd498
v4l2sink: 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=774945
sys/v4l2/gstv4l2sink.c