basesink: drain on allocation query
authorThiago Santos <thiagoss@osg.samsung.com>
Fri, 13 Mar 2015 18:53:11 +0000 (18:53 +0000)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 13 Mar 2015 19:03:01 +0000 (19:03 +0000)
commit5e15d4aa603305d71cad5dd8b76fa9f5b25f4779
treee4890b7f782305a4a2eab543d221eb21a9086c83
parent901fea5985b82fcdf3310fa1d34920d231113613
basesink: drain on allocation query

Allows buffers to be reclaimed when caps is to be renegotiated so
that bufferpools can be stopped. As the allocation query is
serialized all buffers have been already drained from the pipeline,
except this last_sample one.

https://bugzilla.gnome.org/show_bug.cgi?id=682770
libs/gst/base/gstbasesink.c