h264parse: unref/replace force_key_unit_event in gst_h264_parse_reset

https://bugzilla.gnome.org/show_bug.cgi?id=729200
This commit is contained in:
Haakon Sporsheim (ieei) 2014-04-29 15:06:00 +00:00 committed by Thiago Santos
parent 692e7b4e11
commit 36a2acae45

View file

@ -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;