ffmpegcolorspace: Optimize transform_caps()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 27 May 2011 12:28:46 +0000 (14:28 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 27 May 2011 12:34:37 +0000 (14:34 +0200)
commitda4e79bb6b617b36e9e9de44de27012274e92253
tree5e8530670768b0d4eee9ac7e63633c4745a57b04
parenta2162b07ada4bb145cc6dc4142410af6ac2492d5
ffmpegcolorspace: 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/ffmpegcolorspace/gstffmpegcolorspace.c