Remove pads from flow combiner and reset last
flow return to FLOW_OK by resetting the flow combiner.
This prevents FLOW_FLUSHING when trying to re-use the
demuxer after setting it back to NULL/READY state.
https://bugzilla.gnome.org/show_bug.cgi?id=737359
GST_OBJECT_FLAG_SET (demux, GST_ELEMENT_FLAG_INDEXABLE);
+ demux->flowcombiner = gst_flow_combiner_new ();
+
/* finish off */
gst_matroska_demux_reset (GST_ELEMENT (demux));
- demux->flowcombiner = gst_flow_combiner_new ();
}
static void
}
demux->invalid_duration = FALSE;
+
+ gst_flow_combiner_clear (demux->flowcombiner);
}
static GstBuffer *