From 85501e6c2a7f41d4025eb51b7605467cf073d2ca Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Tue, 4 Feb 2014 21:26:56 +0100 Subject: 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. --- ext/flac/gstflacenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/flac') diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index e789295df..e0bffcf24 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -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 \ -- cgit v1.2.3