Original commit message from CVS:
* tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
Test case originally showed the problem fixed below,
but was then amended. Add checks back at the place
where they used to be.
2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
+ * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
+ Test case originally showed the problem fixed below,
+ but was then amended. Add checks back at the place
+ where they used to be.
+
+2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
+
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_init), (gst_base_src_loop),
(gst_base_src_activate_push), (gst_base_src_activate_pull),
gst_element_set_state (pipeline, GST_STATE_NULL);
gst_object_unref (pipeline);
+ /* make sure nothing was sent in addition to the above when shutting down */
+ g_assert (n_buffer_probes == 10); /* one for every buffer */
+ g_assert (n_event_probes == 2); /* new segment and eos */
+ g_assert (n_data_probes == 12); /* duh */
} GST_END_TEST;
static int n_data_probes_once = 0;