summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/dtmf/gstdtmfsrc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c
index e0a73dd1..444a79df 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")