diff options
author | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-05-23 14:55:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-23 14:55:34 +0200 |
commit | 97229c0c2e13415d0fa1c808742c22adeb9b2f33 (patch) | |
tree | 06772df40db156723e13e40466dac2916f5d4a7b /src/call.c | |
parent | 91e3b2c11f617a126679b3d15239bdb0c1c72e4c (diff) |
Vidsrc api reentrant (#256)
* vidsrc: make the API re-entrant
* vidsrc: update all modules to new API
Diffstat (limited to 'src/call.c')
-rw-r--r-- | src/call.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -599,7 +599,8 @@ int call_alloc(struct call **callp, const struct config *cfg, struct list *lst, video source or video display */ use_video = (vidmode != VIDMODE_OFF) && (list_head(account_vidcodecl(call->acc)) != NULL) - && (NULL != vidsrc_find(NULL) || NULL != vidisp_find(NULL)); + && (NULL != vidsrc_find(baresip_vidsrcl(), NULL) + || NULL != vidisp_find(NULL)); debug("call: use_video=%d\n", use_video); |