From feee3c183be3d5d899fbfb0d21e33f7cd0a77074 Mon Sep 17 00:00:00 2001 From: smorlat Date: Wed, 22 Apr 2009 08:55:50 +0000 Subject: [PATCH] bad #ifdef git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@425 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/coreapi/exevents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linphone/coreapi/exevents.c b/linphone/coreapi/exevents.c index 29546d49a..c9d3ace8d 100644 --- a/linphone/coreapi/exevents.c +++ b/linphone/coreapi/exevents.c @@ -874,8 +874,10 @@ static void linphone_process_media_control_xml(LinphoneCore *lc, eXosip_event_t strstr(body->body,"picture_fast_update")){ osip_message_t *ans=NULL; ms_message("Receiving VFU request !"); +#ifdef VIDEO_ENABLED if (lc->videostream) video_stream_send_vfu(lc->videostream); +#endif eXosip_call_build_answer(ev->tid,200,&ans); if (ans) eXosip_call_send_answer(ev->tid,200,ans); @@ -908,7 +910,6 @@ static void linphone_process_dtmf_relay(LinphoneCore *lc, eXosip_event_t *ev){ } void linphone_call_message_new(LinphoneCore *lc, eXosip_event_t *ev){ -#ifdef VIDEO_ENABLED if (ev->request){ if (MSG_IS_INFO(ev->request)){ osip_content_type_t *ct; @@ -922,7 +923,6 @@ void linphone_call_message_new(LinphoneCore *lc, eXosip_event_t *ev){ } } }else ms_warning("linphone_call_message_new: No request ?"); -#endif } void linphone_registration_faillure(LinphoneCore *lc, eXosip_event_t *ev){