summaryrefslogtreecommitdiff
path: root/modules/qtcapture
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/qtcapture
parent91e3b2c11f617a126679b3d15239bdb0c1c72e4c (diff)
Vidsrc api reentrant (#256)
* vidsrc: make the API re-entrant * vidsrc: update all modules to new API
Diffstat (limited to 'modules/qtcapture')
-rw-r--r--modules/qtcapture/qtcapture.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/qtcapture/qtcapture.m b/modules/qtcapture/qtcapture.m
index 08f66ab..e4fddc2 100644
--- a/modules/qtcapture/qtcapture.m
+++ b/modules/qtcapture/qtcapture.m
@@ -381,7 +381,8 @@ static void device_info(void)
static int module_init(void)
{
device_info();
- return vidsrc_register(&vidsrc, "qtcapture", alloc, NULL);
+ return vidsrc_register(&vidsrc, baresip_vidsrcl(),
+ "qtcapture", alloc, NULL);
}