Commit c1074d8b authored by Ghislain MARY's avatar Ghislain MARY

Fix to allow camera detection to be called several times.

parent 6c1920c0
......@@ -551,6 +551,7 @@ void MSWinRTCap::registerCameras(MSWebCamManager *manager)
ms_web_cam_manager_prepend_cam(manager, (MSWebCam *)ms_list_nth_data(smCameras, i));
}
ms_list_free(smCameras);
smCameras = NULL;
}
void MSWinRTCap::detectCameras(MSWebCamManager *manager, MSWebCamDesc *desc)
......
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