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
This commit is contained in:
Seungha Yang 2018-08-13 22:45:54 +09:00 committed by Nicolas Dufresne
parent 27432ab067
commit 3ad30ef76e

View file

@ -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 {