[Pkg-telepathy-commits] ./packages/unstable/gst-plugins-farsight r24: * debian/patches/03_dtmfsrc_set_correct_endianess.patch

Sjoerd Simons sjoerd at luon.net
Sun Feb 17 14:59:51 UTC 2008


------------------------------------------------------------
revno: 24
committer: Sjoerd Simons <sjoerd at luon.net>
branch nick: gst-plugins-farsight
timestamp: Sun 2008-02-17 15:59:51 +0100
message:
  * debian/patches/03_dtmfsrc_set_correct_endianess.patch
    - Added. Set the native endianess on the src pad of the dtmfsrc element.
      Fixes problems on big-endian architectures.
added:
  patches/03_dtmfsrc_set_correct_endianess.patch
modified:
  changelog
-------------- next part --------------
=== modified file 'changelog'
--- a/changelog	2008-02-15 17:23:33 +0000
+++ b/changelog	2008-02-17 14:59:51 +0000
@@ -1,8 +1,14 @@
 gst-plugins-farsight (0.12.5-3) UNRELEASED; urgency=low
 
+  [ Laurent Bigonville ]
   * Bump Standards-Version to 3.7.3
 
- -- Laurent Bigonville <bigon at bigon.be>  Fri, 15 Feb 2008 18:22:52 +0100
+  [ Sjoerd Simons ]
+  * debian/patches/03_dtmfsrc_set_correct_endianess.patch
+    - Added. Set the native endianess on the src pad of the dtmfsrc element.
+      Fixes problems on big-endian architectures.
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Sun, 17 Feb 2008 15:55:49 +0100
 
 gst-plugins-farsight (0.12.5-2) unstable; urgency=low
 

=== added file 'patches/03_dtmfsrc_set_correct_endianess.patch'
--- a/patches/03_dtmfsrc_set_correct_endianess.patch	1970-01-01 00:00:00 +0000
+++ b/patches/03_dtmfsrc_set_correct_endianess.patch	2008-02-17 14:59:51 +0000
@@ -0,0 +1,18 @@
+Sat Feb 16 14:41:40 CET 2008  Sjoerd Simons <sjoerd at luon.net>
+  * dtmfsrc: Correctly set the endianess in the caps to the machines endianess
+diff -rN -u old-gst-plugins-farsight/gst/dtmf/gstdtmfsrc.c new-gst-plugins-farsight/gst/dtmf/gstdtmfsrc.c
+--- old-gst-plugins-farsight/gst/dtmf/gstdtmfsrc.c	2008-02-17 15:55:13.000000000 +0100
++++ new-gst-plugins-farsight/gst/dtmf/gstdtmfsrc.c	2008-02-17 15:55:13.000000000 +0100
+@@ -225,7 +225,11 @@
+     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")
+



More information about the Pkg-telepathy-commits mailing list