audioconvert: Always prefer the input format if possible
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 1 Nov 2012 15:44:05 +0000 (16:44 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 1 Nov 2012 15:44:05 +0000 (16:44 +0100)
commit9e6021fe4b4c1b0b9340a5cdd6778e0bfcddae16
treeb6d7640cac5e3f82c85cbcb017ba55e6748ce6ad
parentbc4389806d17c8ea27d952b5b539ee9235fa3027
audioconvert: Always prefer the input format if possible

Previously we could've chosen another format with the same
depth even if the input format was possible.

Also make sure to chose according to the order in the
caps.
gst/audioconvert/gstaudioconvert.c