[SCM] morituri/master: * morituri/test/test_common_encode.py: Use pink-noise as a wave form to make sure it's long enough. Fixes last tests for F-15.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:28 UTC 2014


The following commit has been merged in the master branch:
commit 3a42598fa5c06d6e45d18ec99151f8b61dcf10a1
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Tue May 24 16:09:14 2011 +0000

    	* morituri/test/test_common_encode.py:
    	  Use pink-noise as a wave form to make sure it's long enough.
    	  Fixes last tests for F-15.

diff --git a/ChangeLog b/ChangeLog
index 12e010e..89ddbbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* morituri/test/test_common_encode.py:
+	  Use pink-noise as a wave form to make sure it's long enough.
+	  Fixes last tests for F-15.
+
+2011-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* morituri/common/checksum.py:
 	* morituri/common/gstreamer.py:
 	  Remove audioparsers plugin if it has the known bug.
diff --git a/morituri/test/test_common_encode.py b/morituri/test/test_common_encode.py
index 3f7e6a8..8e0a512 100644
--- a/morituri/test/test_common_encode.py
+++ b/morituri/test/test_common_encode.py
@@ -94,7 +94,8 @@ class SafeRetagTestCase(tcommon.TestCase):
         self._fd, self._path = tempfile.mkstemp(suffix=u'.morituri.retag.flac')
         
         os.system('gst-launch '
-            'audiotestsrc num-buffers=10 samplesperbuffer=588 ! '
+            'audiotestsrc '
+                'num-buffers=40 samplesperbuffer=588 wave=pink-noise ! '
             'audioconvert ! '
             'audio/x-raw-int,channels=2,width=16,height=16,rate=44100 ! '
             'flacenc ! filesink location=%s > /dev/null 2>&1' % self._path)

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list