mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +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;
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue