Commit 91ff8a81 authored by Thibault Saunier's avatar Thibault Saunier 🌵

nlecomposition: Drop all group-done but the last one

parent 99c45d42
...@@ -1347,6 +1347,13 @@ ghost_event_probe_handler (GstPad * ghostpad G_GNUC_UNUSED, ...@@ -1347,6 +1347,13 @@ ghost_event_probe_handler (GstPad * ghostpad G_GNUC_UNUSED,
retval = GST_PAD_PROBE_DROP; retval = GST_PAD_PROBE_DROP;
} }
break; break;
case GST_EVENT_STREAM_GROUP_DONE:
if (GST_EVENT_SEQNUM (event) != comp->priv->real_eos_seqnum) {
GST_INFO_OBJECT (comp, "Dropping STREAM_GROUP_DONE %d != %d",
GST_EVENT_SEQNUM (event), comp->priv->real_eos_seqnum);
retval = GST_PAD_PROBE_DROP;
}
break;
case GST_EVENT_SEGMENT: case GST_EVENT_SEGMENT:
{ {
guint64 rstart, rstop; guint64 rstart, rstop;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment