projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f9c1e
)
[MOVED FROM GST-P-FARSIGHT] dtmfsrc: Correctly set the endianess in the caps to the...
author
Sjoerd Simons
<sjoerd@luon.net>
Sat, 16 Feb 2008 13:41:40 +0000
(13:41 +0000)
committer
Edward Hervey
<bilboed@bilboed.com>
Sat, 21 Feb 2009 16:48:04 +0000
(17:48 +0100)
20080216134140
-93b9a-
40a3a9d7ac1679c5e0dfd24a6b91e4aba6cc6496
.gz
gst/dtmf/gstdtmfsrc.c
patch
|
blob
|
history
diff --git
a/gst/dtmf/gstdtmfsrc.c
b/gst/dtmf/gstdtmfsrc.c
index e0a73dd1ed6cf092539fcade5a90043eeacb0543..444a79df6faf29d34c798d2db63600e1eb32de3f 100644
(file)
--- 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")