[chronojump] Fixed camera selection on main gui
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed camera selection on main gui
- Date: Wed, 1 May 2013 01:51:03 +0000 (UTC)
commit 4f2f16f9b867d7d04a9935ccb1371378cc9fba7a
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed May 1 03:49:56 2013 +0200
Fixed camera selection on main gui
src/gui/chronojump.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index cd4455f..e0061ef 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -2863,7 +2863,7 @@ Log.WriteLine("yessssssssssssssssss");
List<LongoMatch.Video.Utils.Device> devices =
LongoMatch.Video.Utils.Device.ListVideoDevices();
int count = 0;
foreach(LongoMatch.Video.Utils.Device dev in devices) {
- if(dev.ToString() == genericWin.GetComboSelected)
+ if(dev.ID.ToString() == genericWin.GetComboSelected)
videoSourceNum = count;
count ++;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]