mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
qtdemux: fix flow return aggregation
This commit is contained in:
parent
5239e19e9c
commit
df2982ce7d
1 changed files with 5 additions and 0 deletions
|
@ -3248,6 +3248,11 @@ gst_qtdemux_combine_flows (GstQTDemux * demux, QtDemuxStream * stream,
|
|||
/* store the value */
|
||||
stream->last_ret = ret;
|
||||
|
||||
/* any other error that is not-linked or eos can be returned right away */
|
||||
if (G_LIKELY (ret != GST_FLOW_UNEXPECTED && ret != GST_FLOW_NOT_LINKED))
|
||||
goto done;
|
||||
|
||||
/* only return NOT_LINKED if all other pads returned NOT_LINKED */
|
||||
for (i = 0; i < demux->n_streams; i++) {
|
||||
QtDemuxStream *ostream = demux->streams[i];
|
||||
|
||||
|
|
Loading…
Reference in a new issue