summaryrefslogtreecommitdiff
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-11 16:08:15 -0400
commit0d61e1c485be29c3f318bfceb5f6fe053f0c97ab (patch)
tree5317f989ba76bc80cd0c71a90c1910ddb0079451
parente47b013804b81e8d6719563232376badde0a64e3 (diff)
downloadgstreamer-plugins-bad-0d61e1c485be29c3f318bfceb5f6fe053f0c97ab.tar.gz
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
-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;