gstpad: fix gst_pad_can_link()
authorZeeshan Ali (Khattak) <zeeshanak at gnome dot org>
Wed, 18 Mar 2009 16:01:16 +0000 (17:01 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 Mar 2009 16:01:16 +0000 (17:01 +0100)
commit8af9d58ea7daf67f5c752187adea7d6dd00574cf
tree09d5219cb69fd09bdfb2208d807387fae9c2a99d
parent7d7fceced5c40fbfafd1a2c32c95f82d86d84bbd
gstpad: fix gst_pad_can_link()

Move the gst_pad_can_link() implementation from gstutils to gstpad and use
gst_pad_link_prepare() to make it work correctly and also check the caps.

Make the broken implementation in gstutils static.

Small cleanups in the _get_fixed_caps() function.

Fixes #575682.
gst/gstpad.c
gst/gstpad.h
gst/gstutils.c
gst/gstutils.h