[aravis] gv_stream: add inactive debug code.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] gv_stream: add inactive debug code.
- Date: Thu, 12 May 2011 13:06:06 +0000 (UTC)
commit 028404eeb7e8ebefd96d4ede09a34de0f33bc3dc
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Thu May 12 15:05:40 2011 +0200
gv_stream: add inactive debug code.
src/arvgvstream.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/arvgvstream.c b/src/arvgvstream.c
index 8d50558..11a9b71 100644
--- a/src/arvgvstream.c
+++ b/src/arvgvstream.c
@@ -483,6 +483,18 @@ _check_frame_completion (ArvGvStreamThreadData *thread_data,
frame->buffer->status = ARV_BUFFER_STATUS_TIMEOUT;
arv_debug_stream_thread ("[GvStream::_check_frame_completion] Timeout for frame %u",
frame->frame_id);
+#if 0
+ if (arv_debug_check (&arv_debug_category_stream_thread, ARV_DEBUG_LEVEL_LOG)) {
+ int i;
+ arv_log_stream_thread ("frame_id = %Lu", frame->frame_id);
+ arv_log_stream_thread ("last_valid_packet = %d", frame->last_valid_packet);
+ for (i = 0; i < frame->n_packets; i++) {
+ arv_log_stream_thread ("%d - time = %Lu%s", i,
+ frame->packet_data[i].time_us,
+ frame->packet_data[i].received ? " - OK" : "");
+ }
+ }
+#endif
_close_frame (thread_data, frame);
thread_data->frames = iter->next;
g_slist_free_1 (iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]