playbin2: Use gst_pad_accept_caps() instead of intersecting with the getcaps caps
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 18 Feb 2011 13:04:38 +0000 (14:04 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 18 Feb 2011 13:04:38 +0000 (14:04 +0100)
commit2fc70442a7b65798223548005e5aa391dd32607d
tree20a663441a83755487e76e1e02dfec31f5d177c3
parent09750a01326cf42a4c0752d8cee3134cd1216f64
playbin2: Use gst_pad_accept_caps() instead of intersecting with the getcaps caps

This might be faster and more accurate in some cases to detect if a
sink supports a format and autoplugging can be stopped.
gst/playback/gstplaybin2.c