From 36a2acae45a8da28401ca8ed8a5c116f50921fa2 Mon Sep 17 00:00:00 2001 From: "Haakon Sporsheim (ieei)" Date: Tue, 29 Apr 2014 15:06:00 +0000 Subject: [PATCH] h264parse: unref/replace force_key_unit_event in gst_h264_parse_reset https://bugzilla.gnome.org/show_bug.cgi?id=729200 --- gst/videoparsers/gsth264parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 9105d7f..f88d89d 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -209,7 +209,7 @@ gst_h264_parse_reset (GstH264Parse * h264parse) h264parse->sent_codec_tag = FALSE; h264parse->pending_key_unit_ts = GST_CLOCK_TIME_NONE; - h264parse->force_key_unit_event = NULL; + gst_event_replace (&h264parse->force_key_unit_event, NULL); h264parse->discont = FALSE; -- 2.7.4