[aravis] gv_stream: use value parameter when option is SOCKET_BUFFER_FIXED.



commit 745c7f8aa8f06b0941864c407e2fdfe41af7c1ec
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Fri Sep 10 15:17:44 2010 +0200

    gv_stream: use value parameter when option is SOCKET_BUFFER_FIXED.

 src/arvgvstream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvgvstream.c b/src/arvgvstream.c
index 5573209..b1bc7f0 100644
--- a/src/arvgvstream.c
+++ b/src/arvgvstream.c
@@ -415,7 +415,7 @@ arv_gv_stream_set_option (ArvGvStream *gv_stream, ArvGvStreamOption option, int
 			break;
 		case ARV_GV_STREAM_OPTION_SOCKET_BUFFER_FIXED:
 			thread_data->socket_buffer_option = option;
-			thread_data->socket_buffer_size = 0;
+			thread_data->socket_buffer_size = value;
 			break;
 	}
 }



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