[chronojump] webcam: Fixed not allow to capture on 0 device on macosx
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] webcam: Fixed not allow to capture on 0 device on macosx
- Date: Mon, 8 Apr 2019 10:19:21 +0000 (UTC)
commit e85681c80e2993cdb3660f81fefe5441b5a7c8e6
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Apr 8 12:18:48 2019 +0200
webcam: Fixed not allow to capture on 0 device on macosx
src/webcam.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/webcam.cs b/src/webcam.cs
index 4aee6eab..118cb60b 100644
--- a/src/webcam.cs
+++ b/src/webcam.cs
@@ -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, "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]