mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue