audioresample: Optimize transform_caps()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 27 May 2011 12:20:08 +0000 (14:20 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 27 May 2011 12:31:02 +0000 (14:31 +0200)
commita2162b07ada4bb145cc6dc4142410af6ac2492d5
treed4f5c415cbc835d050d0ba9fc9968692d7a20f00
parent4fcd621101a089727b7a66387b2db18fe9c116ab
audioresample: Optimize transform_caps()

If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.
gst/audioresample/gstaudioresample.c