summaryrefslogtreecommitdiff
path: root/modules/selfview
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-05-26 12:15:19 +0200
committerGitHub <noreply@github.com>2017-05-26 12:15:19 +0200
commit8096fa45a71f0f1cbc93881e3e5733a4e697d75b (patch)
tree0c49e07fd3b58c4797f3604bd4f2124c038bc401 /modules/selfview
parentebbf920a502d6d460ff3ea8a57db0c624e3a0747 (diff)
Vidisp api reentrant (#258)
* vidisp: make the API re-entrant * vidisp: update all modules to re-entrant API
Diffstat (limited to 'modules/selfview')
-rw-r--r--modules/selfview/selfview.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/selfview/selfview.c b/modules/selfview/selfview.c
index 77f0b81..af27b1a 100644
--- a/modules/selfview/selfview.c
+++ b/modules/selfview/selfview.c
@@ -162,7 +162,8 @@ static int encode_win(struct vidfilt_enc_st *st, struct vidframe *frame)
if (!enc->disp) {
- err = vidisp_alloc(&enc->disp, NULL, NULL, NULL, NULL, NULL);
+ err = vidisp_alloc(&enc->disp, baresip_vidispl(),
+ NULL, NULL, NULL, NULL, NULL);
if (err)
return err;
}