summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <seungha.yang@navercorp.com>2018-08-13 22:45:54 +0900
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2018-09-10 22:36:59 -0400
commit3ad30ef76e67f88417f782578772540a90c918cc (patch)
tree59338f44281bdb720f589d317a9e472101a366b0
parent27432ab0672c8546f5fb626786589b406a61f689 (diff)
h265parse: Don't unref buffer that was unreffed just a few lines before already
Apply the commit 9b50a12 https://bugzilla.gnome.org/show_bug.cgi?id=754124
-rw-r--r--gst/videoparsers/gsth265parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c
index f76ce43d2..79e3fa55c 100644
--- a/gst/videoparsers/gsth265parse.c
+++ b/gst/videoparsers/gsth265parse.c
@@ -872,7 +872,6 @@ gst_h265_parse_handle_frame_packetized (GstBaseParse * parse,
if (h265parse->split_packetized) {
GST_ELEMENT_ERROR (h265parse, STREAM, FAILED, (NULL),
("invalid HEVC input data"));
- gst_buffer_unref (buffer);
return GST_FLOW_ERROR;
} else {