decodebin2: use more efficient way of getting caps
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 28 Jun 2010 08:53:57 +0000 (10:53 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 4 Aug 2010 08:33:31 +0000 (10:33 +0200)
commit908afd4b152ef95dfcf2ce9889e5b4f7eae3e89c
treed7a63eafe142d964e390afd4ac5f095c809fad92
parent3dbf96faa3520b052ef7db3981c4c1031b69fb57
decodebin2: use more efficient way of getting caps

When inspecting the caps of a pad, try to get the pad _CAPS first before calling
the getcaps function.
gst/playback/gstdecodebin2.c