mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
flvmux: aggregate should not push EOS itself
Instead it is expected to return GST_FLOW_EOS, and let the base class handle that.
This commit is contained in:
parent
79f16d69af
commit
acb6090e47
1 changed files with 1 additions and 1 deletions
|
@ -1729,7 +1729,7 @@ gst_flv_mux_aggregate (GstAggregator * aggregator, gboolean timeout)
|
||||||
if (gst_flv_mux_are_all_pads_eos (mux)) {
|
if (gst_flv_mux_are_all_pads_eos (mux)) {
|
||||||
gst_flv_mux_write_eos (mux);
|
gst_flv_mux_write_eos (mux);
|
||||||
gst_flv_mux_rewrite_header (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;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue