From: Haakon Sporsheim (ieei) Date: Tue, 29 Apr 2014 15:06:00 +0000 (+0000) Subject: h264parse: unref/replace force_key_unit_event in gst_h264_parse_reset X-Git-Tag: 1.19.3~507^2~11293 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36a2acae45a8da28401ca8ed8a5c116f50921fa2;p=platform%2Fupstream%2Fgstreamer.git h264parse: unref/replace force_key_unit_event in gst_h264_parse_reset https://bugzilla.gnome.org/show_bug.cgi?id=729200 --- 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;