mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Revert "baseparse: don't leak caps in gst_base_parse_process_streamheader"
This reverts commit 5e8b4bf085
.
This causes refcounting criticals in the baseparse unit test.
This commit is contained in:
parent
9b34972ba1
commit
c78a1b111c
1 changed files with 0 additions and 6 deletions
|
@ -2756,16 +2756,10 @@ gst_base_parse_process_streamheader (GstBaseParse * parse)
|
|||
GST_OBJECT_CAST (parse), gst_buffer_ref (buffer));
|
||||
}
|
||||
|
||||
gst_caps_unref (caps);
|
||||
|
||||
return ret;
|
||||
|
||||
notfound:
|
||||
{
|
||||
if (caps) {
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (parse, "No streamheader on caps");
|
||||
return GST_FLOW_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue