Commit 856edbd5 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

call_tester.c: fix compilation due to unused function when video not built

parent 3b24f7ea
...@@ -1483,6 +1483,7 @@ end: ...@@ -1483,6 +1483,7 @@ end:
ms_list_free(lcs); ms_list_free(lcs);
} }
#ifdef VIDEO_ENABLED
static void call_paused_resumed_with_video_base_call_cb(LinphoneCore *lc, LinphoneCall *call, LinphoneCallState cstate, const char *message) { static void call_paused_resumed_with_video_base_call_cb(LinphoneCore *lc, LinphoneCall *call, LinphoneCallState cstate, const char *message) {
if (cstate == LinphoneCallUpdatedByRemote) { if (cstate == LinphoneCallUpdatedByRemote) {
LinphoneCallParams *params = linphone_core_create_call_params(lc, call); LinphoneCallParams *params = linphone_core_create_call_params(lc, call);
...@@ -1606,7 +1607,7 @@ static void call_paused_updated_resumed_with_no_sdp_ack_using_video_policy(void) ...@@ -1606,7 +1607,7 @@ static void call_paused_updated_resumed_with_no_sdp_ack_using_video_policy(void)
static void call_paused_updated_resumed_with_no_sdp_ack_using_video_policy_and_accept_call_update(void){ static void call_paused_updated_resumed_with_no_sdp_ack_using_video_policy_and_accept_call_update(void){
call_paused_resumed_with_video_base(TRUE, TRUE,TRUE,TRUE); call_paused_resumed_with_video_base(TRUE, TRUE,TRUE,TRUE);
} }
#endif
#define CHECK_CURRENT_LOSS_RATE() \ #define CHECK_CURRENT_LOSS_RATE() \
rtcp_count_current = pauline->stat.number_of_rtcp_sent; \ rtcp_count_current = pauline->stat.number_of_rtcp_sent; \
/*wait for an RTCP packet to have an accurate cumulative lost value*/ \ /*wait for an RTCP packet to have an accurate cumulative lost value*/ \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment