videoscale: Optimize transform_caps()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 27 May 2011 12:30:19 +0000 (14:30 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 27 May 2011 12:37:41 +0000 (14:37 +0200)
commit0c99ab58065bba0f49d3a717b757db57fe4f3066
tree0058beb7c87af461969d58587bf87f9373cd604a
parentda4e79bb6b617b36e9e9de44de27012274e92253
videoscale: 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/videoscale/gstvideoscale.c