playsink: Switch to faster pad linking methods
authorEdward Hervey <bilboed@bilboed.com>
Tue, 20 Jul 2010 19:05:45 +0000 (21:05 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 20 Jul 2010 19:05:45 +0000 (21:05 +0200)
commitb93edac4805fb64ba8919fe03359ff4ae2ac4821
treebba4557c9833ce64e4352a5131abb77146c4e888
parentc199a560a92964091f9a9c696f5c1272f78fb201
playsink: Switch to faster pad linking methods

Logic for choice of GST_PAD_LINK_CHECK_* is as follows:
* Where return of pad_link wasn't checked before : NOTHING
* Where linking is between known compatible elements : NOTHING
* All other cases : TEMPLATE_CAPS

Slashes down playsink reconfigure by up to 50% cpu time.
gst/playback/gstplaysink.c