[longomatch] Set the 'guid' property using a guint64
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Set the 'guid' property using a guint64
- Date: Mon, 21 Jun 2010 22:17:06 +0000 (UTC)
commit 1eb19eab3c762c7156624e072a16c41f982ce462
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Jun 16 22:05:32 2010 +0200
Set the 'guid' property using a guint64
libcesarplayer/src/gst-camera-capturer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index 3045dad..74e1468 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -323,7 +323,7 @@ gst_camera_capturer_set_device_id (GstCameraCapturer * gcc,
GstElement *source;
source = gst_bin_get_by_name (GST_BIN(gcc->priv->videosrc), "source_element");
- g_object_set (gcc->priv->videosrc, "guid", device_id, NULL);
+ g_object_set (source, "guid", g_ascii_strtoull(device_id, NULL, 10), NULL);
}
#endif
GST_INFO_OBJECT (gcc, "Changed device id/name to :\n%s", device_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]