mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue