[aravis] gv_stream: more debug informations on packet resend request.



commit 2ec50e7aef7e11631b8a70eec7cdd485565358e9
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Thu Apr 14 09:36:01 2011 +0200

    gv_stream: more debug informations on packet resend request.

 src/arvgvstream.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/src/arvgvstream.c b/src/arvgvstream.c
index 89ca29e..4988c26 100644
--- a/src/arvgvstream.c
+++ b/src/arvgvstream.c
@@ -365,8 +365,9 @@ _missing_packet_check (ArvGvStreamThreadData *thread_data,
 					int j;
 
 					arv_debug ("stream-thread", "[GvStream::_missing_packet_check]"
-						   " Resend request at dt = %Lu",
-						   time_us - frame->first_packet_time_us);
+						   " Resend request at dt = %Lu, packet id = %u/%u",
+						   time_us - frame->first_packet_time_us,
+						   packet_id, frame->n_packets);
 
 					_send_packet_request (thread_data, frame->frame_id,
 							      first_missing, i - 1);
@@ -381,8 +382,10 @@ _missing_packet_check (ArvGvStreamThreadData *thread_data,
 		if (first_missing >= 0) {
 			int j;
 
-			arv_debug ("stream-thread", "[GvStream::_missing_packet_check] Resend request at dt = %Lu",
-				   time_us - frame->first_packet_time_us);
+			arv_debug ("stream-thread", "[GvStream::_missing_packet_check]"
+				   " Resend request at dt = %Lu, packet id = %u/%u",
+				   time_us - frame->first_packet_time_us,
+				   packet_id, frame->n_packets);
 
 			_send_packet_request (thread_data, frame->frame_id,
 					      first_missing, i - 1);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]