diff options
author | philippe.kalaf@collabora.co.uk <philippe.kalaf@collabora.co.uk> | 2006-03-24 19:57:20 +0000 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-03-03 14:34:04 -0500 |
commit | 107a5b0f4edb1c724030b8bddead0261f4a65f1b (patch) | |
tree | 7fce027d8f67936d332197734fa14367f1fb4f48 /ext | |
parent | 78f8f112c1bdaba5a5ce8c4f1e4538696d2b6fe3 (diff) | |
download | gst-plugins-bad-107a5b0f4edb1c724030b8bddead0261f4a65f1b.tar.gz gst-plugins-bad-107a5b0f4edb1c724030b8bddead0261f4a65f1b.tar.bz2 gst-plugins-bad-107a5b0f4edb1c724030b8bddead0261f4a65f1b.zip |
[MOVED FROM GST-P-FARSIGHT] Calls to gst_pad_get_parent ref the object so it needs to be unreffed < hexa00@gmail.com
20060324195720-2425b-17928be34ee67f71efbaf62de76deba9ad13f0f2.gz
Diffstat (limited to 'ext')
-rw-r--r-- | ext/mimic/gstmimenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mimic/gstmimenc.c b/ext/mimic/gstmimenc.c index 34e5da97..55d9d096 100644 --- a/ext/mimic/gstmimenc.c +++ b/ext/mimic/gstmimenc.c @@ -223,9 +223,10 @@ gst_mimenc_setcaps (GstPad *pad, GstCaps *caps) filter->res = (width == 320) ? MIMIC_RES_HIGH : MIMIC_RES_LOW; GST_DEBUG ("Got info from caps w : %d, h : %d", filter->width, filter->height); if (!ret) { + gst_object_unref(filter); return FALSE; } - + gst_object_unref(filter); return TRUE; } |