Commit cfae0c15 authored by Stefan Kost's avatar Stefan Kost
Browse files

collectpads: make it the best of wims and edwards patch.

Check the right flushing flag, but still add it to the pad-list.
parent 2cb16ad7
......@@ -1018,13 +1018,12 @@ gst_collect_pads_check_pads (GstCollectPads * pads)
pads->numpads++;
data = collected->data;
if (G_UNLIKELY (data->abidata.ABI.flushing))
continue;
if (data->buffer)
pads->queuedpads++;
if (data->abidata.ABI.eos)
pads->eospads++;
if (G_LIKELY (!data->abidata.ABI.flushing)) {
if (data->buffer)
pads->queuedpads++;
if (data->abidata.ABI.eos)
pads->eospads++;
}
/* add to the list of pads to collect */
ref_data (data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment