[aravis] fake: add missing buffer parameter in callback call.



commit 0698dcc7fd03acdf3dde27770ebfb66f24d24bea
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Fri Jun 25 15:37:08 2010 +0200

    fake: add missing buffer parameter in callback call.

 src/arvfakestream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvfakestream.c b/src/arvfakestream.c
index 2b7908a..067d55d 100644
--- a/src/arvfakestream.c
+++ b/src/arvfakestream.c
@@ -79,7 +79,7 @@ arv_fake_stream_thread (void *data)
 				thread_data->n_failures++;
 			if (thread_data->callback != NULL)
 				thread_data->callback (thread_data->user_data, ARV_STREAM_CALLBACK_TYPE_BUFFER_DONE,
-						       NULL);
+						       buffer);
 			g_async_queue_push (thread_data->output_queue, buffer);
 		} else
 			thread_data->n_underruns++;



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