utils: return real error in compatible link check
authorChen Rui <rui.chen@tieto.com>
Wed, 26 Jan 2011 08:46:25 +0000 (16:46 +0800)
committerStefan Kost <ensonic@users.sf.net>
Mon, 14 Feb 2011 20:45:50 +0000 (22:45 +0200)
commitb164a8232a0c3f27b9904912f7fff39a26bedadd
tree49ff1fb679a7963afaa4f82cc6374fc2a7140bd7
parent12d2d016634fa9fa83a6de6b341bdfc8d71f7fff
utils: return real error in compatible link check

We need to ensure we call gst_pad_check_link() with the two pads in the correct
order. The order depends on wheter we iterate src or sink pads.

Signed-off-by: Chen Rui <rui.chen@tieto.com>
gst/gstutils.c