[longomatch] osx: fix devices listing
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] osx: fix devices listing
- Date: Sat, 29 Mar 2014 17:23:28 +0000 (UTC)
commit 88f627f14d74d70ce89f42cb4c4f5ef886082a83
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Mar 29 18:23:02 2014 +0100
osx: fix devices listing
LongoMatch.Multimedia/Utils/VideoDevice.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch.Multimedia/Utils/VideoDevice.cs b/LongoMatch.Multimedia/Utils/VideoDevice.cs
index c74e05d..4a677a0 100644
--- a/LongoMatch.Multimedia/Utils/VideoDevice.cs
+++ b/LongoMatch.Multimedia/Utils/VideoDevice.cs
@@ -27,12 +27,12 @@ namespace LongoMatch.Multimedia.Utils
{
public class VideoDevice
{
-#if OSTYPE_DARWIN
- static string[] devices = new string[1] {"osxvideosrc"};
+#if OSTYPE_OS_X
+ static string[] devices = new string[1] {"osxvideosrc"};
#elif OSTYPE_WINDOWS
- static string[] devices = new string[2] {"dshowvideosrc", "ksvideosrc"};
+ static string[] devices = new string[2] {"dshowvideosrc", "ksvideosrc"};
#else
- static string[] devices = new string[2] {"v4l2src", "dv1394src"};
+ static string[] devices = new string[2] {"v4l2src", "dv1394src"};
#endif
static public List<Device> ListVideoDevices() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]