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
@ -374,7 +374,6 @@ mpegtsmux_reset (MpegTsMux * mux, gboolean alloc)
|
||||
mux->is_delta = TRUE;
|
||||
|
||||
mux->streamheader_sent = FALSE;
|
||||
mux->force_key_unit_event = NULL;
|
||||
mux->pending_key_unit_ts = GST_CLOCK_TIME_NONE;
|
||||
#if 0
|
||||
mux->spn_count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user