summaryrefslogtreecommitdiff
path: root/ext/flac
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-02-04 21:26:56 +0100
committerTim-Philipp Müller <tim@centricular.com>2014-02-04 21:26:56 +0100
commit85501e6c2a7f41d4025eb51b7605467cf073d2ca (patch)
tree2c196637239bd5c7cd4b3a5847a30dbb618ac9c8 /ext/flac
parent99bf36b55d33de8c46fc4722540297417b6b72c6 (diff)
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.
Diffstat (limited to 'ext/flac')
-rw-r--r--ext/flac/gstflacenc.c4
1 files changed, 2 insertions, 2 deletions
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 \