fdsink: Block in preroll_wait on unlock
authorOlivier Crête <olivier.crete@collabora.com>
Fri, 4 Nov 2016 22:46:45 +0000 (18:46 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Wed, 23 Nov 2016 16:58:43 +0000 (11:58 -0500)
commit5216322d39448ed61c86bb1b3dd9c8c5e6feccf3
tree9330119c80f27722a99d34b86b1dec5526512f80
parent2872ae21c344d83a2f4ce154da01baa892da59fd
fdsink: 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=773912
plugins/elements/gstelements_private.c
plugins/elements/gstelements_private.h
plugins/elements/gstfdsink.c
plugins/elements/gstfdsink.h
plugins/elements/gstfilesink.c