Commit 3c5b6c03 authored by Seungha Yang's avatar Seungha Yang 🐑 Committed by Nicolas Dufresne

h265parse: Don't unref buffer that was unreffed just a few lines before already

Apply the commit 9b50a12b

https://bugzilla.gnome.org/show_bug.cgi?id=754124
parent 42f324cb
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment