asfdemux: Don't forget to update flow variable
Forgot to update the return value in the loop.
This commit is contained in:
parent
bb20a20d86
commit
8829c5141a
@ -890,10 +890,10 @@ gst_asf_demux_aggregate_flow_return (GstASFDemux * demux, AsfStream * stream,
|
|||||||
|
|
||||||
for (i = 0; i < demux->num_streams; i++) {
|
for (i = 0; i < demux->num_streams; i++) {
|
||||||
if (demux->stream[i].active) {
|
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_DEBUG_OBJECT (demux, "Aggregating: flow %i return %s", i,
|
||||||
gst_flow_get_name (flowret));
|
gst_flow_get_name (flow));
|
||||||
if (flowret != GST_FLOW_NOT_LINKED)
|
if (flow != GST_FLOW_NOT_LINKED)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user