From c40557df720cad6d6902f44cf9538d26c53cfce5 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sat, 16 Feb 2008 13:41:40 +0000 Subject: [PATCH] [MOVED FROM GST-P-FARSIGHT] dtmfsrc: Correctly set the endianess in the caps to the machines endianess 20080216134140-93b9a-40a3a9d7ac1679c5e0dfd24a6b91e4aba6cc6496.gz --- gst/dtmf/gstdtmfsrc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index e0a73dd..444a79d 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -225,7 +225,11 @@ GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS ("audio/x-raw-int, " "width = (int) 16, " "depth = (int) 16, " +#if G_BYTE_ORDER == G_LITTLE_ENDIAN "endianness = (int) 1234, " +#else + "endianness = (int) 4321, " +#endif "signed = (bool) true, " "rate = (int) 8000, " "channels = (int) 1") -- 2.7.4