From: Jan Alexander Steffens (heftig) Date: Tue, 1 Sep 2020 12:56:55 +0000 (+0200) Subject: mpegtsmux: Keep mux usable after stop X-Git-Tag: 1.19.3~507^2~1439 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef8142ef90481598672c6fa6622ea1792f3739e2;p=platform%2Fupstream%2Fgstreamer.git 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: --- diff --git a/gst/mpegtsmux/gstbasetsmux.c b/gst/mpegtsmux/gstbasetsmux.c index 0972ba2..d2a73dd 100644 --- a/gst/mpegtsmux/gstbasetsmux.c +++ b/gst/mpegtsmux/gstbasetsmux.c @@ -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; }