[aravis] gv_stream: use ArvGvStream type in arv_gv_stream_get_statistics parameter.



commit 2a3ecd7ed5b4b9492d7424f2602f1f1b72ffbc1e
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Fri Sep 10 15:16:42 2010 +0200

    gv_stream: use ArvGvStream type in arv_gv_stream_get_statistics parameter.

 src/arvgvstream.c |    5 ++---
 src/arvgvstream.h |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/arvgvstream.c b/src/arvgvstream.c
index 4e07582..5573209 100644
--- a/src/arvgvstream.c
+++ b/src/arvgvstream.c
@@ -498,16 +498,15 @@ arv_gv_stream_new (GInetAddress *device_address, guint16 port,
 /* ArvStream implementation */
 
 void
-arv_gv_stream_get_statistics (ArvStream *stream,
+arv_gv_stream_get_statistics (ArvGvStream *gv_stream,
 			      guint64 *n_resent_blocks,
 			      guint64 *n_missing_blocks,
 			      guint64 *n_late_blocks)
 
 {
-	ArvGvStream *gv_stream = ARV_GV_STREAM (stream);
 	ArvGvStreamThreadData *thread_data;
 
-	g_return_if_fail (ARV_IS_GV_STREAM (stream));
+	g_return_if_fail (ARV_IS_GV_STREAM (gv_stream));
 
 	thread_data = gv_stream->thread_data;
 
diff --git a/src/arvgvstream.h b/src/arvgvstream.h
index f4eb85e..945d82f 100644
--- a/src/arvgvstream.h
+++ b/src/arvgvstream.h
@@ -84,7 +84,7 @@ void		arv_gv_stream_set_option		(ArvGvStream *gv_stream, ArvGvStreamOption optio
 							 int value);
 void		arv_gv_stream_set_packet_resend 	(ArvGvStream *gv_stream, ArvGvStreamPacketResend resend);
 
-void		arv_gv_stream_get_statistics		(ArvStream *stream,
+void		arv_gv_stream_get_statistics		(ArvGvStream *gv_stream,
 							 guint64 *n_resent_blocks,
 							 guint64 *n_missing_blocks,
 							 guint64 *n_late_blocks);



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