From 466437763d6061bc0a04926fb7d5b5fea83c7ebd Mon Sep 17 00:00:00 2001 From: Sandrine Avakian Date: Thu, 28 Jan 2016 14:56:43 +0100 Subject: [PATCH] small fix in linphone_call_get_video_device --- coreapi/linphonecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 57ff6e775..572e7ecb1 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -4748,7 +4748,7 @@ MSWebCam *linphone_call_get_video_device(const LinphoneCall *call) { LinphoneCallState state = linphone_call_get_state(call); bool_t paused = (state == LinphoneCallPausing) || (state == LinphoneCallPaused); if (paused || call->all_muted || (call->camera_enabled == FALSE)) - return get_nowebcam_device(); + return get_nowebcam_device(call->core->factory); else return call->core->video_conf.device; }