testsuite/test_pad.py: Activate pads before using them.
authorEdward Hervey <bilboed@bilboed.com>
Sat, 16 Dec 2006 15:33:02 +0000 (15:33 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 16 Dec 2006 15:33:02 +0000 (15:33 +0000)
Original commit message from CVS:
* testsuite/test_pad.py:
Activate pads before using them.

ChangeLog
testsuite/test_pad.py

index 92af514..d0e966d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-12-16  Edward Hervey  <edward@fluendo.com>
 
+       * testsuite/test_pad.py:
+       Activate pads before using them.
+
+2006-12-16  Edward Hervey  <edward@fluendo.com>
+
        * RELEASE:
        Commit 0.10.6 RELEASE file. Better late than never :(
 
index 535893b..1e1e518 100644 (file)
@@ -84,6 +84,8 @@ class PadPushLinkedTest(TestCase):
         self.src.set_caps(caps)
         self.sink.set_caps(caps)
         self.sink.set_chain_function(self._chain_func)
+        self.src.set_active(True)
+        self.sink.set_active(True)
         self.src.link(self.sink)
         self.buffers = []
 
@@ -161,6 +163,8 @@ class PadPushEventLinkedTest(TestCase):
         self.src.set_caps(caps)
         self.sink.set_caps(caps)
         self.sink.set_chain_function(self._chain_func)
+        self.src.set_active(True)
+        self.sink.set_active(True)
         self.src.link(self.sink)
         self.events = []
 
@@ -255,6 +259,8 @@ class PadPushProbeLinkTest(TestCase):
         caps = gst.caps_from_string("foo/bar")
         self.src.set_caps(caps)
         self.sink.set_caps(caps)
+        self.src.set_active(True)
+        self.sink.set_active(True)
         self.sink.set_chain_function(self._chain_func)
         self.buffers = []