flacenc: order format in template caps by preference

To minimise risk of bad fixation, though audioconvert
at least should be smart enough to avoid it.
This commit is contained in:
Tim-Philipp Müller 2014-02-04 21:26:56 +01:00
parent 99bf36b55d
commit 85501e6c2a

View file

@ -98,9 +98,9 @@ static const GstAudioChannelPosition channel_positions[8][8] = {
};
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
#define FORMATS "{ S8, S16LE, S24LE, S24_32LE } "
#define FORMATS "{ S24LE, S24_32LE, S16LE, S8 } "
#else
#define FORMATS "{ S8, S16BE, S24BE, S24_32BE } "
#define FORMATS "{ S24BE, S24_32BE, S16BE, S8 } "
#endif
#define FLAC_SINK_CAPS \