mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
testsuite/test_pad.py: Activate pads before using them.
Original commit message from CVS: * testsuite/test_pad.py: Activate pads before using them.
This commit is contained in:
parent
697b6c4b32
commit
b20b1ec8c3
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2006-12-16 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* RELEASE:
|
* RELEASE:
|
||||||
|
|
|
@ -84,6 +84,8 @@ class PadPushLinkedTest(TestCase):
|
||||||
self.src.set_caps(caps)
|
self.src.set_caps(caps)
|
||||||
self.sink.set_caps(caps)
|
self.sink.set_caps(caps)
|
||||||
self.sink.set_chain_function(self._chain_func)
|
self.sink.set_chain_function(self._chain_func)
|
||||||
|
self.src.set_active(True)
|
||||||
|
self.sink.set_active(True)
|
||||||
self.src.link(self.sink)
|
self.src.link(self.sink)
|
||||||
self.buffers = []
|
self.buffers = []
|
||||||
|
|
||||||
|
@ -161,6 +163,8 @@ class PadPushEventLinkedTest(TestCase):
|
||||||
self.src.set_caps(caps)
|
self.src.set_caps(caps)
|
||||||
self.sink.set_caps(caps)
|
self.sink.set_caps(caps)
|
||||||
self.sink.set_chain_function(self._chain_func)
|
self.sink.set_chain_function(self._chain_func)
|
||||||
|
self.src.set_active(True)
|
||||||
|
self.sink.set_active(True)
|
||||||
self.src.link(self.sink)
|
self.src.link(self.sink)
|
||||||
self.events = []
|
self.events = []
|
||||||
|
|
||||||
|
@ -255,6 +259,8 @@ class PadPushProbeLinkTest(TestCase):
|
||||||
caps = gst.caps_from_string("foo/bar")
|
caps = gst.caps_from_string("foo/bar")
|
||||||
self.src.set_caps(caps)
|
self.src.set_caps(caps)
|
||||||
self.sink.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.sink.set_chain_function(self._chain_func)
|
||||||
self.buffers = []
|
self.buffers = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue