[farsight2/master] Don't use set_properties(), only use set_property()
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:21:49 PST 2008
---
tests/gui/fs2-gui.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/gui/fs2-gui.py b/tests/gui/fs2-gui.py
index 7f0d6c5..b1e835d 100644
--- a/tests/gui/fs2-gui.py
+++ b/tests/gui/fs2-gui.py
@@ -222,8 +222,8 @@ class FsUISource:
def get_src_pad(self, name="src%d"):
"Gets a source pad from the source"
queue = gst.element_factory_make("queue")
- queue.set_properties("leaky", 2,
- "max-size-time", 50*gst.MSECOND)
+ queue.set_property("leaky", 2)
+ queue.set_property("max-size-time", 50*gst.MSECOND)
requestpad = self.tee.get_request_pad(name)
self.pipeline.add(queue)
requestpad.link(queue.get_static_pad("sink"))
--
1.5.6.5
More information about the farsight-commits
mailing list