From 4377dfeaddce94e97a5037f2dd97344fb947cc00 Mon Sep 17 00:00:00 2001 From: Olivier CrĂȘte Date: Tue, 3 Jun 2014 17:59:32 -0400 Subject: rtprtx: Reset state on each iteration Otherwise it didn't wait for the test to finish before checking the results. https://bugzilla.gnome.org/show_bug.cgi?id=728501 --- tests/check/elements/rtprtx.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/check/elements/rtprtx.c b/tests/check/elements/rtprtx.c index 9c6206a1f..706f2910b 100644 --- a/tests/check/elements/rtprtx.c +++ b/tests/check/elements/rtprtx.c @@ -416,6 +416,8 @@ start_test_drop_and_check_results (GstElement * bin, GstElement * rtppayloader, receive_rtxdata->seqnum_offset = 0; receive_rtxdata->seqnum_prev = 0; + *eos = FALSE; + /* retrieve offset before going to paused */ g_object_get (G_OBJECT (rtppayloader), "seqnum-offset", &receive_rtxdata->seqnum_offset, NULL); -- cgit v1.2.3