[MOVED FROM GST-P-FARSIGHT] Fixed couple of compilation issues
20060324201619-2425b-bf339926f533aa4efece855fbbe94e59c7bb955f.gz
This commit is contained in:
parent
107a5b0f4e
commit
01f8344bf0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user