mpegtsmux: Keep mux usable after stop
Otherwise you cannot request new pads until after it is started again. gst_base_ts_mux_reset with FALSE is still called in the dispose implementation, so the muxer still gets deallocated when we actually clean up. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1552>
This commit is contained in:
parent
cc3057e4ea
commit
ef8142ef90
@ -1714,7 +1714,7 @@ gst_base_ts_mux_start (GstAggregator * agg)
|
||||
static gboolean
|
||||
gst_base_ts_mux_stop (GstAggregator * agg)
|
||||
{
|
||||
gst_base_ts_mux_reset (GST_BASE_TS_MUX (agg), FALSE);
|
||||
gst_base_ts_mux_reset (GST_BASE_TS_MUX (agg), TRUE);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user