projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b34972
)
Revert "baseparse: don't leak caps in gst_base_parse_process_streamheader"
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 3 Oct 2014 08:01:15 +0000
(09:01 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 3 Oct 2014 08:01:39 +0000
(09:01 +0100)
This reverts commit
5e8b4bf085180f7a4c7ae6ec0f525baeaedd4df8
.
This causes refcounting criticals in the baseparse unit test.
libs/gst/base/gstbaseparse.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbaseparse.c
b/libs/gst/base/gstbaseparse.c
index
7f29afa
..
8fd1103
100644
(file)
--- a/
libs/gst/base/gstbaseparse.c
+++ b/
libs/gst/base/gstbaseparse.c
@@
-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;
}