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:
99188bc
)
textrender: Prevent double unref of caps if the caps can't be set on the srcpad
author
Jindrich Makovicka
<makovick@gmail.com>
Thu, 26 May 2011 08:42:46 +0000
(10:42 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Thu, 26 May 2011 08:42:46 +0000
(10:42 +0200)
ext/pango/gsttextrender.c
patch
|
blob
|
history
diff --git
a/ext/pango/gsttextrender.c
b/ext/pango/gsttextrender.c
index
c937244
..
eaa4742
100644
(file)
--- a/
ext/pango/gsttextrender.c
+++ b/
ext/pango/gsttextrender.c
@@
-498,7
+498,6
@@
gst_text_render_chain (GstPad * pad, GstBuffer * inbuf)
}
if (!gst_pad_set_caps (render->srcpad, caps)) {
- gst_caps_unref (caps);
GST_ELEMENT_ERROR (render, CORE, NEGOTIATION, (NULL), (NULL));
ret = GST_FLOW_ERROR;
goto done;