summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaakon Sporsheim (ieei) <haakon.sporsheim@gmail.com>2014-04-29 15:06:00 +0000
committerThiago Santos <ts.santos@sisa.samsung.com>2014-04-29 12:27:03 -0300
commit4f01875cfe40f06b6ad98d5644938a90a7adfbbc (patch)
tree829850fac0818ae11b9c122d034a28abfff487dd
parentafbfb97ebe039cbd63dadb188fb0aeb458fae19b (diff)
downloadgstreamer-plugins-bad-4f01875cfe40f06b6ad98d5644938a90a7adfbbc.tar.gz
h264parse: unref/replace force_key_unit_event in gst_h264_parse_reset
https://bugzilla.gnome.org/show_bug.cgi?id=729200
-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 c64ecb258..6024e5011 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -208,7 +208,7 @@ gst_h264_parse_reset (GstH264Parse * h264parse)
h264parse->do_ts = TRUE;
h264parse->pending_key_unit_ts = GST_CLOCK_TIME_NONE;
- h264parse->force_key_unit_event = NULL;
+ gst_event_replace (&h264parse->force_key_unit_event, NULL);
gst_h264_parse_reset_frame (h264parse);
}