From 0d61e1c485be29c3f318bfceb5f6fe053f0c97ab Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 14 Aug 2018 00:29:56 +0900 Subject: 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 --- gst/videoparsers/gsth265parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c index 56ace3d8c..d696e8daa 100644 --- a/gst/videoparsers/gsth265parse.c +++ b/gst/videoparsers/gsth265parse.c @@ -199,7 +199,7 @@ gst_h265_parse_reset (GstH265Parse * h265parse) h265parse->sent_codec_tag = FALSE; 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; -- cgit v1.2.1