mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
utils: Fix unit test
This commit is contained in:
parent
9676e141ce
commit
c5b7e7903e
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue