bufferpool: Unnecessarily complicated because of the use of GstPoll
Since GstPoll
is not lock-free at all, the complicated use of GstPoll
and GstAtomicQueue
in GstBufferPool
make the entire code just complicated without real benefit. That code can be simplified by using single mutex and cond.