appsink: Make sure to also handle unlock when waiting for EOS to be handled
authorSebastian Dröge <sebastian@centricular.com>
Wed, 2 May 2018 15:35:23 +0000 (18:35 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 2 May 2018 16:14:16 +0000 (19:14 +0300)
commit9f9000e693694ea33c21607140ffc29aa1734062
tree198008669dd3d0c1160479985d8dc9367f0fbefb
parenta19497ab67cf9517fb12f2bf30e034078d36a958
appsink: Make sure to also handle unlock when waiting for EOS to be handled

Otherwise shutting down during EOS waiting will cause a deadlock.

https://bugzilla.gnome.org/show_bug.cgi?id=795551
gst-libs/gst/app/gstappsink.c