summaryrefslogtreecommitdiff
path: root/modules/selfview
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-05-26 20:08:50 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-05-26 20:08:50 +0200
commit4481f4b62a356aee64364101e8f254fdaf7ad028 (patch)
treefc71bc3d0fbf461c1b96b30376d6702c59e0c24b /modules/selfview
parent8096fa45a71f0f1cbc93881e3e5733a4e697d75b (diff)
vidfilt: make the API re-entrant
Diffstat (limited to 'modules/selfview')
-rw-r--r--modules/selfview/selfview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/selfview/selfview.c b/modules/selfview/selfview.c
index af27b1a..5cc1bed 100644
--- a/modules/selfview/selfview.c
+++ b/modules/selfview/selfview.c
@@ -254,9 +254,9 @@ static int module_init(void)
(void)conf_get(conf_cur(), "video_selfview", &pl);
if (0 == pl_strcasecmp(&pl, "window"))
- vidfilt_register(&selfview_win);
+ vidfilt_register(baresip_vidfiltl(), &selfview_win);
else if (0 == pl_strcasecmp(&pl, "pip"))
- vidfilt_register(&selfview_pip);
+ vidfilt_register(baresip_vidfiltl(), &selfview_pip);
(void)conf_get_vidsz(conf_cur(), "selfview_size", &selfview_size);