h264parse: Don't unref buffer that was unreffed just a few lines before already
This commit is contained in:
parent
12ffc7f5e4
commit
9b50a12b52
@ -887,7 +887,6 @@ gst_h264_parse_handle_frame_packetized (GstBaseParse * parse,
|
|||||||
if (h264parse->split_packetized) {
|
if (h264parse->split_packetized) {
|
||||||
GST_ELEMENT_ERROR (h264parse, STREAM, FAILED, (NULL),
|
GST_ELEMENT_ERROR (h264parse, STREAM, FAILED, (NULL),
|
||||||
("invalid AVC input data"));
|
("invalid AVC 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