mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
[MOVED FROM GST-P-FARSIGHT] Fixed couple of compilation issues
20060324201619-2425b-bf339926f533aa4efece855fbbe94e59c7bb955f.gz
This commit is contained in:
parent
107a5b0f4e
commit
01f8344bf0
1 changed files with 0 additions and 2 deletions
|
@ -336,11 +336,9 @@ gst_mimdec_src_getcaps (GstPad *pad)
|
||||||
{
|
{
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
GST_LOCK (pad);
|
|
||||||
if (!(caps = GST_PAD_CAPS (pad)))
|
if (!(caps = GST_PAD_CAPS (pad)))
|
||||||
caps = (GstCaps *) gst_pad_get_pad_template_caps (pad);
|
caps = (GstCaps *) gst_pad_get_pad_template_caps (pad);
|
||||||
caps = gst_caps_ref (caps);
|
caps = gst_caps_ref (caps);
|
||||||
GST_UNLOCK (pad);
|
|
||||||
|
|
||||||
return caps;
|
return caps;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue