summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/videoparsers/gsth264parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index 9105d7f5a..f88d89dfc 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;