[cheese] Print correct product id in device monitor debugging
- From: Filippo Argiolas <fargiolas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Print correct product id in device monitor debugging
- Date: Tue, 20 Jul 2010 18:53:52 +0000 (UTC)
commit 92b88caf20f6be175623914a2d114094438e2019
Author: Filippo Argiolas <filippo argiolas gmail com>
Date: Tue Jul 20 20:52:05 2010 +0200
Print correct product id in device monitor debugging
libcheese/cheese-camera-device-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcheese/cheese-camera-device-monitor.c b/libcheese/cheese-camera-device-monitor.c
index 4b51438..e54e985 100644
--- a/libcheese/cheese-camera-device-monitor.c
+++ b/libcheese/cheese-camera-device-monitor.c
@@ -128,7 +128,7 @@ cheese_camera_device_monitor_added (CheeseCameraDeviceMonitor *monitor,
vendor_id = g_ascii_strtoll (vendor, NULL, 16);
product = g_udev_device_get_property (udevice, "ID_MODEL_ID");
if (product != NULL)
- product_id = g_ascii_strtoll (vendor, NULL, 16);
+ product_id = g_ascii_strtoll (product, NULL, 16);
if (vendor_id == 0 || product_id == 0)
{
GST_WARNING ("Error getting vendor and product id");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]