h265parse: Unref/replace force_key_unit_event in gst_h265_parse_reset

Apply the commit 36a2aca

https://bugzilla.gnome.org/show_bug.cgi?id=754124
This commit is contained in:
Seungha Yang 2018-08-14 00:29:56 +09:00 committed by Nicolas Dufresne
parent 7032b6a454
commit 2bd883621f

View file

@ -199,7 +199,7 @@ gst_h265_parse_reset (GstH265Parse * h265parse)
h265parse->sent_codec_tag = FALSE; h265parse->sent_codec_tag = FALSE;
h265parse->pending_key_unit_ts = GST_CLOCK_TIME_NONE; h265parse->pending_key_unit_ts = GST_CLOCK_TIME_NONE;
h265parse->force_key_unit_event = NULL; gst_event_replace (&h265parse->force_key_unit_event, NULL);
h265parse->discont = FALSE; h265parse->discont = FALSE;