asfdemux: Don't forget to update flow variable

Forgot to update the return value in the loop.
This commit is contained in:
Edward Hervey 2010-01-18 18:01:55 +01:00
parent bb20a20d86
commit 8829c5141a

View file

@ -890,10 +890,10 @@ gst_asf_demux_aggregate_flow_return (GstASFDemux * demux, AsfStream * stream,
for (i = 0; i < demux->num_streams; i++) {
if (demux->stream[i].active) {
GstFlowReturn flowret = demux->stream[i].last_flow;
flow = demux->stream[i].last_flow;
GST_DEBUG_OBJECT (demux, "Aggregating: flow %i return %s", i,
gst_flow_get_name (flowret));
if (flowret != GST_FLOW_NOT_LINKED)
gst_flow_get_name (flow));
if (flow != GST_FLOW_NOT_LINKED)
goto done;
}
}