Commit 6e446f4b authored by Simon Morlat's avatar Simon Morlat

fix compilation problem on mac

parent e0cb2532
......@@ -543,8 +543,8 @@ static int v4m_open_device(MSFilter *f, void *arg) {
}
static MSFilter *ms_v4m_create_reader(MSWebCam *obj, MSFactory* factory) {
MSFilter *f = ms_factory_create_filter_from_desc(factory, &ms_v4m_desc);
static MSFilter *ms_v4m_create_reader(MSWebCam *obj) {
MSFilter *f = ms_factory_create_filter_from_desc(ms_web_cam_get_factory(obj), &ms_v4m_desc);
v4m_open_device(f,obj->data);
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