Skip to content
Snippets Groups Projects
Commit 59d398b6 authored by Olivier Crête's avatar Olivier Crête :ghost: Committed by Nicolas Dufresne
Browse files

rtpjitterbuffer tests: Validate the number of buffers

parent d8575222
No related branches found
No related tags found
No related merge requests found
......@@ -353,6 +353,8 @@ GST_START_TEST (test_push_eos)
g_cond_wait (&check_cond, &check_mutex);
g_mutex_unlock (&check_mutex);
fail_unless_equals_int (g_list_length (buffers), num_buffers - 1);
/* Verify statistics */
g_object_get (jitterbuffer, "stats", &stats, NULL);
gst_structure_get (stats, "num-pushed", G_TYPE_UINT64, &pushed,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment