[MOVED FROM GST-P-FARSIGHT] Fixed couple of compilation issues

20060324201619-2425b-bf339926f533aa4efece855fbbe94e59c7bb955f.gz
This commit is contained in:
philippe.kalaf@collabora.co.uk 2006-03-24 20:16:19 +00:00 committed by Olivier Crête
parent 107a5b0f4e
commit 01f8344bf0

View file

@ -336,11 +336,9 @@ gst_mimdec_src_getcaps (GstPad *pad)
{
GstCaps *caps;
GST_LOCK (pad);
if (!(caps = GST_PAD_CAPS (pad)))
caps = (GstCaps *) gst_pad_get_pad_template_caps (pad);
caps = gst_caps_ref (caps);
GST_UNLOCK (pad);
return caps;
}