[farsight2/master] Make rawudp compile without upnp

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


---
 transmitters/rawudp/fs-rawudp-component.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index 5037d1c..0f3ad15 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -1385,7 +1385,9 @@ stun_recv_cb (GstPad *pad, GstBuffer *buffer,
 
   FS_RAWUDP_COMPONENT_LOCK(self);
   fs_rawudp_component_stop_stun_locked (self);
+#ifdef HAVE_GUPNP
   fs_rawudp_component_stop_upnp_discovery_locked (self);
+#endif
 
   self->priv->local_active_candidate = fs_candidate_copy (candidate);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list