search for: static_caps

Displaying 1 result from an estimated 1 matches for "static_caps".

Did you mean: static_call
2007 Oct 26
0
6 commits - configure.ac libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec_video.c player/swfplay.c
...y_get_static_pad_templates (GST_ELEMENT_FACTORY (feature)); + walk; walk = walk->next) { + GstStaticPadTemplate *template = walk->data; + GstCaps *intersect; + GstCaps *template_caps; + + if (template->direction != GST_PAD_SINK) + continue; + + template_caps = gst_static_caps_get (&template->static_caps); + intersect = gst_caps_intersect (caps, template_caps); + + gst_caps_unref (template_caps); + if (gst_caps_is_empty (intersect)) { + gst_caps_unref (intersect); + } else { + gst_caps_unref (intersect); + return TRUE; + } + } +...