[farsight2/master] Add a bit more info to python example
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:23:40 PST 2008
---
python/example.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/python/example.py b/python/example.py
index 8896f3d..b67b6a0 100644
--- a/python/example.py
+++ b/python/example.py
@@ -37,7 +37,7 @@ videosource.get_pad ("src").link(session.get_property ("sink-pad"))
funnel = False
def _src_pad_added (stream, pad, codec, pipeline):
global funnel
- print "src pad added for stream %s %s" % (stream.get_property("participant").get_property("cname"), codec.to_string())
+ print "src pad %s added for stream %s %s" % (pad.get_name(), stream.get_property("participant").get_property("cname"), codec.to_string())
if not funnel:
funnel = gst.element_factory_make("fsfunnel")
videosink = gst.element_factory_make ("xvimagesink")
--
1.5.6.5
More information about the farsight-commits
mailing list