projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99c45d4
)
nlecomposition: Drop all group-done but the last one
author
Thibault Saunier
<tsaunier@igalia.com>
Sat, 29 Jun 2019 00:19:20 +0000
(20:19 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Fri, 5 Jul 2019 22:30:41 +0000
(18:30 -0400)
plugins/nle/nlecomposition.c
patch
|
blob
|
history
diff --git
a/plugins/nle/nlecomposition.c
b/plugins/nle/nlecomposition.c
index
de18ec9
..
c0ad82b
100644
(file)
--- a/
plugins/nle/nlecomposition.c
+++ b/
plugins/nle/nlecomposition.c
@@
-1347,6
+1347,13
@@
ghost_event_probe_handler (GstPad * ghostpad G_GNUC_UNUSED,
retval = GST_PAD_PROBE_DROP;
}
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:
{
guint64 rstart, rstop;