audioconvert: 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. This makes gst_pad_get_caps() on an audiotestsrc ! audioconvert ! audioconvert ! audioconvert ! fakesink pipeline about 1.7 times faster.
Showing with 15 additions and 0 deletions