Commit 97ee2fdb authored by Ghislain MARY's avatar Ghislain MARY

Fix crash by setting the webcam manager to which a webcam is prepended to.

parent 966a5d86
......@@ -79,6 +79,7 @@ void ms_web_cam_manager_add_cam(MSWebCamManager *m, MSWebCam *c){
void ms_web_cam_manager_prepend_cam(MSWebCamManager *m, MSWebCam *c){
ms_web_cam_set_manager(m, c);
ms_message("Webcam %s prepended",ms_web_cam_get_string_id(c));
m->cams=ms_list_prepend(m->cams,c);
}
......
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