projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f16d6
)
flvmux: aggregate should not push EOS itself
author
Mathieu Duponchelle
<mathieu@centricular.com>
Fri, 13 Apr 2018 20:44:14 +0000
(22:44 +0200)
committer
Mathieu Duponchelle
<mathieu@centricular.com>
Fri, 13 Apr 2018 20:44:14 +0000
(22:44 +0200)
Instead it is expected to return GST_FLOW_EOS, and let the
base class handle that.
gst/flv/gstflvmux.c
patch
|
blob
|
history
diff --git
a/gst/flv/gstflvmux.c
b/gst/flv/gstflvmux.c
index
2efb3d2
..
2dc1817
100644
(file)
--- a/
gst/flv/gstflvmux.c
+++ b/
gst/flv/gstflvmux.c
@@
-1729,7
+1729,7
@@
gst_flv_mux_aggregate (GstAggregator * aggregator, gboolean timeout)
if (gst_flv_mux_are_all_pads_eos (mux)) {
gst_flv_mux_write_eos (mux);
gst_flv_mux_rewrite_header (mux);
-
gst_pad_push_event (mux->srcpad, gst_event_new_eos ())
;
+
return GST_FLOW_EOS
;
}
return GST_FLOW_OK;
}