summaryrefslogtreecommitdiff
path: root/modules/avcapture
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-05-23 14:55:34 +0200
committerGitHub <noreply@github.com>2017-05-23 14:55:34 +0200
commit97229c0c2e13415d0fa1c808742c22adeb9b2f33 (patch)
tree06772df40db156723e13e40466dac2916f5d4a7b /modules/avcapture
parent91e3b2c11f617a126679b3d15239bdb0c1c72e4c (diff)
Vidsrc api reentrant (#256)
* vidsrc: make the API re-entrant * vidsrc: update all modules to new API
Diffstat (limited to 'modules/avcapture')
-rw-r--r--modules/avcapture/avcapture.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/avcapture/avcapture.m b/modules/avcapture/avcapture.m
index e037246..f276c96 100644
--- a/modules/avcapture/avcapture.m
+++ b/modules/avcapture/avcapture.m
@@ -373,7 +373,8 @@ static int module_init(void)
debug("avcapture: found video device '%s'\n", name);
}
- err = vidsrc_register(&vidsrc, "avcapture", alloc, update);
+ err = vidsrc_register(&vidsrc, baresip_vidsrcl(),
+ "avcapture", alloc, update);
[pool drain];