commit | 59010ac580fe233310a79d849151c107d6168990 | [log] [tgz] |
---|---|---|
author | Mathieu Duponchelle <mathieu@centricular.com> | Fri Apr 13 22:44:14 2018 +0200 |
committer | Sebastian Dröge <sebastian@centricular.com> | Mon Apr 16 11:12:07 2018 +0300 |
tree | b41bbc3b16d01e05b4bc73e0c95e2c7db011b75d | |
parent | f977cd8ab11bb7dd225da4a0cc7d56f184ae33c3 [diff] |
flvmux: aggregate should not push EOS itself Instead it is expected to return GST_FLOW_EOS, and let the base class handle that.
diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index 68e6572..6b248e4 100644 --- a/gst/flv/gstflvmux.c +++ b/gst/flv/gstflvmux.c
@@ -1730,7 +1730,7 @@ 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; }