avfvideosrc: fix unconditional buffer queue unlock
authorIlya Konstantinov <ilya.konstantinov@gmail.com>
Thu, 7 May 2015 19:18:27 +0000 (21:18 +0200)
committerMatthew Waters <matthew@centricular.com>
Mon, 11 May 2015 11:11:30 +0000 (21:11 +1000)
commitc948484c7fe764467ee749aa04d02617d8fee591
treee5407c2bf20459a599b788eda450d378f31dff3f
parent6007829e77b6335b80d66d258013d17cab426707
avfvideosrc: fix unconditional buffer queue unlock

Unless stopRequest is set, we should unlock conditionally -- otherwise,
the 'create:' method can wake up to an empty buffer queue
and pull a nil buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=748054
sys/applemedia/avfvideosrc.m