[aravis] fake: add missing image processing callback call.



commit d1f18bb0a0f3b3407d1b5e8dfe901ffb76c43cbe
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Fri Jun 25 15:34:46 2010 +0200

    fake: add missing image processing callback call.

 src/arvfakestream.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/arvfakestream.c b/src/arvfakestream.c
index 67846f8..2b7908a 100644
--- a/src/arvfakestream.c
+++ b/src/arvfakestream.c
@@ -77,6 +77,9 @@ arv_fake_stream_thread (void *data)
 				thread_data->n_completed_buffers++;
 			else
 				thread_data->n_failures++;
+			if (thread_data->callback != NULL)
+				thread_data->callback (thread_data->user_data, ARV_STREAM_CALLBACK_TYPE_BUFFER_DONE,
+						       NULL);
 			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]