[longomatch] Set the dshow capturer type has default for windows



commit a5ea71a347c282d01bc6b791ff8e84cd87a4e1d5
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Jul 23 22:32:28 2010 +0200

    Set the dshow capturer type has default for windows

 libcesarplayer/src/gst-camera-capturer.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index 4da8b78..55503d5 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -52,7 +52,11 @@
 #include <gdk/gdkx.h>
 #endif
 
+#ifdef WIN32
+#define DEFAULT_SOURCE_TYPE  GST_CAMERA_CAPTURE_SOURCE_TYPE_DSHOW
+#else
 #define DEFAULT_SOURCE_TYPE  GST_CAMERA_CAPTURE_SOURCE_TYPE_RAW
+#endif
 
 typedef enum
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]