[aravis/timeout-resend] gv_stream: compare equality instead of difference.



commit ef55d15ac09c559d34b6fb160911b9fa63fa91e4
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Mon Apr 11 10:24:32 2011 +0200

    gv_stream: compare equality instead of difference.

 src/arvgvstream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvgvstream.c b/src/arvgvstream.c
index 6d2a787..ff1f1e4 100644
--- a/src/arvgvstream.c
+++ b/src/arvgvstream.c
@@ -343,7 +343,7 @@ _missing_packet_check (ArvGvStreamThreadData *thread_data,
 {
 	int i;
 
-	if (thread_data->packet_resend != ARV_GV_STREAM_PACKET_RESEND_ALWAYS)
+	if (thread_data->packet_resend == ARV_GV_STREAM_PACKET_RESEND_NEVER)
 		return;
 
 	if (packet_id < frame->n_packets) {



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