Return GST_FLOW_EOS from the collected function when we pushed EOS or else it simply keeps on calling our collected function.
Return GST_FLOW_EOS from the collected function when we pushed EOS or else it simply keeps on calling our collected function.