summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSeungha Yang <seungha.yang@navercorp.com>2018-08-14 00:29:56 +0900
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2018-09-10 22:36:59 -0400
commit2bd883621fb4ead4d2c1e85fc400f32c1766f8ab (patch)
treed8b928bf46048ae401e5a9f0a990363c0fc8545e /gst
parent7032b6a454bef6df5cb8f8dd3e766ba96f051347 (diff)
h265parse: Unref/replace force_key_unit_event in gst_h265_parse_reset
Apply the commit 36a2aca https://bugzilla.gnome.org/show_bug.cgi?id=754124
Diffstat (limited to 'gst')
-rw-r--r--gst/videoparsers/gsth265parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c
index 56ace3d8c..d696e8daa 100644
--- a/gst/videoparsers/gsth265parse.c
+++ b/gst/videoparsers/gsth265parse.c
@@ -199,7 +199,7 @@ gst_h265_parse_reset (GstH265Parse * h265parse)
h265parse->sent_codec_tag = FALSE;
h265parse->pending_key_unit_ts = GST_CLOCK_TIME_NONE;
- h265parse->force_key_unit_event = NULL;
+ gst_event_replace (&h265parse->force_key_unit_event, NULL);
h265parse->discont = FALSE;