From acb6090e47ac36495c92ba30a9656e566ca1bc95 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Fri, 13 Apr 2018 22:44:14 +0200 Subject: [PATCH] flvmux: aggregate should not push EOS itself Instead it is expected to return GST_FLOW_EOS, and let the base class handle that. --- gst/flv/gstflvmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index 2efb3d2107..2dc18174a1 100644 --- 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; }