Pushing all queued input immediately causes gstreamer to process all frames in advance and queue them in the output_queue of the transform.
This results in a large amount of memory usage that can cause an OOM issue.
This patch allows the queue to be drained at the rate required by the application.