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:
parent
27432ab067
commit
3ad30ef76e
@ -872,7 +872,6 @@ gst_h265_parse_handle_frame_packetized (GstBaseParse * parse,
|
|||||||
if (h265parse->split_packetized) {
|
if (h265parse->split_packetized) {
|
||||||
GST_ELEMENT_ERROR (h265parse, STREAM, FAILED, (NULL),
|
GST_ELEMENT_ERROR (h265parse, STREAM, FAILED, (NULL),
|
||||||
("invalid HEVC input data"));
|
("invalid HEVC input data"));
|
||||||
gst_buffer_unref (buffer);
|
|
||||||
|
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user