Skip to content

multiqueue: don't send buffers after EOS

James Hilliard requested to merge jameshilliard/gstreamer:multiqueue-eos into main

The logic for starting EOS drop in the gst_multi_queue_loop expects:

sq->srcresult != GST_FLOW_EOS

Add a check to make sure that we don't start EOS drop if sq->srcresult is already GST_FLOW_EOS.

Likewise in gst_single_queue_push_one we need to ensure that we always drop buffers if sq->srcresult == GST_FLOW_EOS as sending buffers when we are EOS is invalid.

Seems to fix #1281 (closed).

cc @bilboed

Merge request reports