mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
mpegtsmux: avoid leaking force keyunit event when going to NULL
Do not set to NULL before unreffing the event or it will leak
This commit is contained in:
parent
77bafb4dbc
commit
e9c1d64895
1 changed files with 0 additions and 1 deletions
|
@ -374,7 +374,6 @@ mpegtsmux_reset (MpegTsMux * mux, gboolean alloc)
|
||||||
mux->is_delta = TRUE;
|
mux->is_delta = TRUE;
|
||||||
|
|
||||||
mux->streamheader_sent = FALSE;
|
mux->streamheader_sent = FALSE;
|
||||||
mux->force_key_unit_event = NULL;
|
|
||||||
mux->pending_key_unit_ts = GST_CLOCK_TIME_NONE;
|
mux->pending_key_unit_ts = GST_CLOCK_TIME_NONE;
|
||||||
#if 0
|
#if 0
|
||||||
mux->spn_count = 0;
|
mux->spn_count = 0;
|
||||||
|
|
Loading…
Reference in a new issue