From c5b7e7903e07e5b3df9e1b78061249e59e6d509c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 27 Jan 2012 12:14:28 +0100 Subject: [PATCH] utils: Fix unit test --- tests/check/gst/gstutils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/check/gst/gstutils.c b/tests/check/gst/gstutils.c index ab82dc5..d5dec79 100644 --- a/tests/check/gst/gstutils.c +++ b/tests/check/gst/gstutils.c @@ -119,16 +119,16 @@ GST_START_TEST (test_buffer_probe_n_times) gst_object_unref (bus); g_assert (n_buffer_probes == 10); /* one for every buffer */ - g_assert (n_event_probes == 3); /* new segment, latency and eos */ - g_assert (n_data_probes == 13); /* duh */ + g_assert (n_event_probes == 4); /* start-start, new segment, latency and eos */ + g_assert (n_data_probes == 14); /* duh */ 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 == 3); /* new segment, latency and eos */ - g_assert (n_data_probes == 13); /* duh */ + g_assert (n_event_probes == 4); /* stream-start, new segment, latency and eos */ + g_assert (n_data_probes == 14); /* duh */ } GST_END_TEST; static int n_data_probes_once = 0; -- 2.7.4