Draft: gst: try to flush removed buffers out of gstreamer
For some reason this doesn't seem to work reliably with all pipelines, I'm probably doing something wrong here but it appears there's an issue with reclaiming buffers from gstreamer.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
For some reason this doesn't seem to work reliably with all pipelines, I'm probably doing something wrong here but it appears there's an issue with reclaiming buffers from gstreamer.