projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ddeba2
)
rsvgdec: avoid reffing the element in chain
author
Stefan Kost
<ensonic@users.sf.net>
Mon, 8 Nov 2010 14:00:21 +0000
(16:00 +0200)
committer
Stefan Kost
<ensonic@users.sf.net>
Mon, 8 Nov 2010 14:02:07 +0000
(16:02 +0200)
ext/rsvg/gstrsvgdec.c
patch
|
blob
|
history
diff --git
a/ext/rsvg/gstrsvgdec.c
b/ext/rsvg/gstrsvgdec.c
index 032ea54e9808b3bbacbe77852b299945ba785e17..b885d15b8f6e96b336dba1ec8c29d44e5155564b 100644
(file)
--- a/
ext/rsvg/gstrsvgdec.c
+++ b/
ext/rsvg/gstrsvgdec.c
@@
-323,7
+323,7
@@
gst_rsvg_decode_image (GstRsvgDec * rsvg, const guint8 * data, guint size,
static GstFlowReturn
gst_rsvg_dec_chain (GstPad * pad, GstBuffer * buffer)
{
- GstRsvgDec *rsvg = GST_RSVG_DEC (
gst_pad_get_parent
(pad));
+ GstRsvgDec *rsvg = GST_RSVG_DEC (
GST_PAD_PARENT
(pad));
gboolean completed = FALSE;
const guint8 *data;
guint size;
@@
-411,8
+411,6
@@
gst_rsvg_dec_chain (GstPad * pad, GstBuffer * buffer)
}
}
- gst_object_unref (rsvg);
-
return GST_FLOW_OK;
}