summaryrefslogtreecommitdiff
path: root/gst
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:17:51 -0300
commit36a2acae45a8da28401ca8ed8a5c116f50921fa2 (patch)
tree0390623ff4abd53f2d010167755114386ed36085 /gst
parent692e7b4e1147af9b7ff97d3ee1098a5fc45013bb (diff)
downloadgstreamer-plugins-bad-36a2acae45a8da28401ca8ed8a5c116f50921fa2.tar.gz
h264parse: unref/replace force_key_unit_event in gst_h264_parse_reset
https://bugzilla.gnome.org/show_bug.cgi?id=729200
Diffstat (limited to 'gst')
-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;