[farsight2/master] get_port returns an int, not a boolean

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


---
 transmitters/rawudp/fs-rawudp-transmitter.c |    2 +-
 transmitters/rawudp/fs-rawudp-transmitter.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/transmitters/rawudp/fs-rawudp-transmitter.c b/transmitters/rawudp/fs-rawudp-transmitter.c
index 13c27e2..1425653 100644
--- a/transmitters/rawudp/fs-rawudp-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-transmitter.c
@@ -839,7 +839,7 @@ fs_rawudp_transmitter_udpport_is_pad (UdpPort *udpport, GstPad *pad)
 }
 
 
-gboolean
+gint
 fs_rawudp_transmitter_udpport_get_port (UdpPort *udpport)
 {
   return udpport->port;
diff --git a/transmitters/rawudp/fs-rawudp-transmitter.h b/transmitters/rawudp/fs-rawudp-transmitter.h
index 18c9978..0d92e93 100644
--- a/transmitters/rawudp/fs-rawudp-transmitter.h
+++ b/transmitters/rawudp/fs-rawudp-transmitter.h
@@ -113,7 +113,7 @@ void fs_rawudp_transmitter_udpport_disconnect_recv (UdpPort *udpport,
 
 gboolean fs_rawudp_transmitter_udpport_is_pad (UdpPort *udpport, GstPad *pad);
 
-gboolean fs_rawudp_transmitter_udpport_get_port (UdpPort *udpport);
+gint fs_rawudp_transmitter_udpport_get_port (UdpPort *udpport);
 
 
 
-- 
1.5.6.5




More information about the farsight-commits mailing list