Commit e85681c8 authored by Xavier de Blas's avatar Xavier de Blas

webcam: Fixed not allow to capture on 0 device on macosx

parent 5cff4f7f
......@@ -208,7 +208,7 @@ public class WebcamManage
}
private Webcam.Result recordPrepareDo (ref Webcam w, string videoDevice, string videoDeviceResolution, string videoDeviceFramerate)
{
if(videoDevice == "" || videoDevice == "0")
if(videoDevice == "")
{
new DialogMessage(Constants.MessageTypes.WARNING, "Video device is not configured. Check Preferences / Multimedia.");
return new Webcam.Result (false, "");
......
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