mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ext/jp2k/gstjasperdec.c: Don't unref the element instance if we don't own a reference.
Original commit message from CVS: * ext/jp2k/gstjasperdec.c: (gst_jasper_dec_sink_setcaps): Don't unref the element instance if we don't own a reference.
This commit is contained in:
parent
cb6f639efb
commit
cf877b2d4f
3 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_sink_setcaps):
|
||||
Don't unref the element instance if we don't own a reference.
|
||||
|
||||
2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
Patch by: Cygwin Ports maintainer
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 03699ffc577ee8a42541862f11a6d0d0dff34f41
|
||||
Subproject commit 5596f3e94835309b54029096f8bba528d79ae677
|
|
@ -235,7 +235,6 @@ gst_jasper_dec_sink_setcaps (GstPad * pad, GstCaps * caps)
|
|||
refuse_caps:
|
||||
{
|
||||
GST_WARNING_OBJECT (dec, "refused caps %" GST_PTR_FORMAT, caps);
|
||||
gst_object_unref (dec);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue