diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegdemux/gstmpegdemux.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c index 0e276eb48..7afd7776b 100644 --- a/gst/mpegdemux/gstmpegdemux.c +++ b/gst/mpegdemux/gstmpegdemux.c @@ -2925,6 +2925,11 @@ gst_flups_demux_combine_flows (GstFluPSDemux * demux, GstFlowReturn ret) ret = stream->last_flow; streams++; + /* some streams may still have to appear, + * and only those ones may end up linked */ + if (G_UNLIKELY (demux->need_no_more_pads && ret == GST_FLOW_NOT_LINKED)) + ret = GST_FLOW_OK; + /* no unexpected or unlinked, return */ if (G_LIKELY (ret != GST_FLOW_EOS && ret != GST_FLOW_NOT_LINKED)) goto done; |