[longomatch] Used 'device' as property for the device probbing
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Used 'device' as property for the device probbing
- Date: Wed, 3 Oct 2012 02:54:40 +0000 (UTC)
commit 1f38ccbb0411e44d351858fe09daa453261df42b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Oct 3 04:54:06 2012 +0200
Used 'device' as property for the device probbing
libcesarplayer/gst-camera-capturer.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/gst-camera-capturer.c b/libcesarplayer/gst-camera-capturer.c
index e620e4d..47644d0 100644
--- a/libcesarplayer/gst-camera-capturer.c
+++ b/libcesarplayer/gst-camera-capturer.c
@@ -2017,7 +2017,8 @@ gst_camera_capturer_enum_devices (gchar * device_name)
if (!g_strcmp0 (device_name, "dv1394src"))
prop_name = "guid";
- else if (!g_strcmp0 (device_name, "v4l2src"))
+ else if (!g_strcmp0 (device_name, "v4l2src") ||
+ !g_strcmp0 (device_name, "osxvideosrc"))
prop_name = "device";
else
prop_name = "device-name";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]