Commit adc3383e authored by Brieuc Viel's avatar Brieuc Viel

fix compilation iOS

parent 3cf3ebfe
......@@ -770,7 +770,7 @@ static void ms_v4ios_cam_init(MSWebCam *cam) {
static MSFilter *ms_v4ios_create_reader(MSWebCam *obj) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
MSFilter *f= ms_factory_create_filter_from_desc(ms_web_cam_factory_get(obj),(&ms_ioscapture_desc);
MSFilter *f= ms_factory_create_filter_from_desc(ms_web_cam_get_factory(obj),(&ms_ioscapture_desc));
[((IOSCapture*)f->data) openDevice:obj->data];
[pool drain];
return f;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment