mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
[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
This commit is contained in:
parent
78f8f112c1
commit
107a5b0f4e
1 changed files with 2 additions and 1 deletions
|
@ -223,9 +223,10 @@ gst_mimenc_setcaps (GstPad *pad, GstCaps *caps)
|
||||||
filter->res = (width == 320) ? MIMIC_RES_HIGH : MIMIC_RES_LOW;
|
filter->res = (width == 320) ? MIMIC_RES_HIGH : MIMIC_RES_LOW;
|
||||||
GST_DEBUG ("Got info from caps w : %d, h : %d", filter->width, filter->height);
|
GST_DEBUG ("Got info from caps w : %d, h : %d", filter->width, filter->height);
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
|
gst_object_unref(filter);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
gst_object_unref(filter);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue