audioconvert: Prefer output formats with the same depth or at least a higher depth
authorRasmus Rohde <rohde@duff.dk>
Wed, 31 Oct 2012 19:01:05 +0000 (20:01 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 1 Nov 2012 13:29:43 +0000 (14:29 +0100)
commitc286f8ffa2fe78aa4c43d7e589271c53b6578a36
tree26c8a8990026c12c71fe5d47514cb2455686e52f
parent5f44303925468413c7dbf8150cda297c8867ced3
audioconvert: Prefer output formats with the same depth or at least a higher depth

Enhance current code to prefer an exact match on sample depth if
possible. Also ignore GST_AUDIO_FORMAT_FLAG_UNPACK when checking
equality on the flags.
gst/audioconvert/gstaudioconvert.c
tests/check/elements/audioconvert.c