tests/check/libs/basesrc.c: Use proper return value for probe.
authorWim Taymans <wim.taymans@gmail.com>
Sun, 19 Mar 2006 16:05:23 +0000 (16:05 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 19 Mar 2006 16:05:23 +0000 (16:05 +0000)
Original commit message from CVS:
* tests/check/libs/basesrc.c: (eos_event_counter):
Use proper return value for probe.

ChangeLog
common
tests/check/libs/basesrc.c

index 21ecfc4..f6e4177 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-19  Wim Taymans  <wim@fluendo.com>
+
+       * tests/check/libs/basesrc.c: (eos_event_counter):
+       Use proper return value for probe.
+
 2006-03-17  Wim Taymans  <wim@fluendo.com>
 
        * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
diff --git a/common b/common
index 9200457..f1c7bfd 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 9200457d08a57f0d7eaeb56915804fa8faf14418
+Subproject commit f1c7bfd24d0fcc4e5113ce3b96b1fac83a9ec560
index ba83244..c1f9989 100644 (file)
@@ -27,7 +27,7 @@
 #include <gst/check/gstcheck.h>
 #include <gst/base/gstbasesrc.h>
 
-static void
+static gboolean
 eos_event_counter (GstObject * pad, GstEvent * event, guint * p_num_eos)
 {
   fail_unless (event != NULL);
@@ -35,6 +35,8 @@ eos_event_counter (GstObject * pad, GstEvent * event, guint * p_num_eos)
 
   if (GST_EVENT_TYPE (event) == GST_EVENT_EOS)
     *p_num_eos += 1;
+
+  return TRUE;
 }
 
 /* basesrc_eos_events_push_live_op: