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 /modules/fakevideo | |
parent | 91e3b2c11f617a126679b3d15239bdb0c1c72e4c (diff) |
Vidsrc api reentrant (#256)
* vidsrc: make the API re-entrant
* vidsrc: update all modules to new API
Diffstat (limited to 'modules/fakevideo')
-rw-r--r-- | modules/fakevideo/fakevideo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/fakevideo/fakevideo.c b/modules/fakevideo/fakevideo.c index c750814..4fbc9ea 100644 --- a/modules/fakevideo/fakevideo.c +++ b/modules/fakevideo/fakevideo.c @@ -174,7 +174,8 @@ static int display(struct vidisp_st *st, const char *title, static int module_init(void) { int err = 0; - err |= vidsrc_register(&vidsrc, "fakevideo", src_alloc, NULL); + err |= vidsrc_register(&vidsrc, baresip_vidsrcl(), + "fakevideo", src_alloc, NULL); err |= vidisp_register(&vidisp, "fakevideo", disp_alloc, NULL, display, NULL); return err; |