[aravis] genicam: more debugging output.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] genicam: more debugging output.
- Date: Wed, 19 May 2010 15:08:23 +0000 (UTC)
commit ca6621a3feaf36f1bfd9231e2f2b59dca06dfb6f
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Wed May 19 11:12:55 2010 -0400
genicam: more debugging output.
src/arvgcenumeration.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/arvgcenumeration.c b/src/arvgcenumeration.c
index 22b67e0..a831184 100644
--- a/src/arvgcenumeration.c
+++ b/src/arvgcenumeration.c
@@ -91,10 +91,16 @@ arv_gc_enumeration_set_string_value (ArvGcEnumeration *enumeration, const char *
g_return_if_fail (ARV_IS_GC_ENUMERATION (enumeration));
for (iter = arv_gc_node_get_childs (ARV_GC_NODE (enumeration)); iter != NULL; iter = iter->next)
- if (g_strcmp0 (arv_gc_node_get_name (iter->data), value) ==0)
+ if (g_strcmp0 (arv_gc_node_get_name (iter->data), value) == 0) {
+ arv_debug ("genicam", "[GcEnumeration::set_string_value] value = %d - string = %s",
+ &enumeration->value, value);
arv_gc_set_int64_to_value (arv_gc_node_get_genicam (ARV_GC_NODE (enumeration)),
&enumeration->value,
arv_gc_enum_entry_get_value (iter->data));
+ return;
+ }
+
+ arv_debug ("genicam", "[GcEnumeration::set_string_value] entry %s not found", value);
}
gint64
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]