mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
tests/check/libs/basesrc.c: Use proper return value for probe.
Original commit message from CVS: * tests/check/libs/basesrc.c: (eos_event_counter): Use proper return value for probe.
This commit is contained in:
parent
c815b879fe
commit
ef30ca111a
3 changed files with 9 additions and 2 deletions
|
@ -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),
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 9200457d08a57f0d7eaeb56915804fa8faf14418
|
||||
Subproject commit f1c7bfd24d0fcc4e5113ce3b96b1fac83a9ec560
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue