[aravis] gv_stream: debug message fix.



commit b7f0fb58a59e97f304b86bf15ece0966548f3eac
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sat May 14 21:37:17 2011 +0200

    gv_stream: debug message fix.

 src/arvgvstream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvgvstream.c b/src/arvgvstream.c
index 11a9b71..a2898c8 100644
--- a/src/arvgvstream.c
+++ b/src/arvgvstream.c
@@ -229,7 +229,7 @@ _process_data_block (ArvGvStreamThreadData *thread_data,
 	if (block_end > frame->buffer->size) {
 		arv_debug_stream_thread ("[GvStream::_process_data_block] %d unexpected bytes in packet %u "
 					 " for frame %u",
-					 block_end, frame->buffer->size,
+					 block_end - frame->buffer->size,
 					 packet_id, frame->frame_id);
 		thread_data->n_size_mismatch_errors++;
 



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