[farsight2/master] Read port from "port", not ip

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:26:32 PST 2008


---
 transmitters/nice/fs-nice-stream-transmitter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index ca69358..2363ec8 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -1010,7 +1010,7 @@ fs_nice_stream_transmitter_build (FsNiceStreamTransmitter *self,
       guint port;
 
       ip = gst_structure_get_string (s, "ip");
-      gst_structure_get_uint (s, "ip",  &port);
+      gst_structure_get_uint (s, "port",  &port);
       username = gst_structure_get_string (s, "username");
       password = gst_structure_get_string (s, "password");
 
-- 
1.5.6.5




More information about the farsight-commits mailing list