diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com> | 2020-09-01 14:56:55 +0200 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-09-01 14:01:56 +0000 |
commit | ef8142ef90481598672c6fa6622ea1792f3739e2 (patch) | |
tree | 9e454bcffaaa3d2b5d259fa2107a30ff1d538ca1 /gst | |
parent | cc3057e4ea7afab9dd43585c03fa31651fa10ffe (diff) | |
download | gstreamer-plugins-bad-ef8142ef90481598672c6fa6622ea1792f3739e2.tar.gz |
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>
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegtsmux/gstbasetsmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegtsmux/gstbasetsmux.c b/gst/mpegtsmux/gstbasetsmux.c index 0972ba241..d2a73dd4f 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; } |