From 4377dfeaddce94e97a5037f2dd97344fb947cc00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 3 Jun 2014 17:59:32 -0400 Subject: [PATCH] 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(+) diff --git a/tests/check/elements/rtprtx.c b/tests/check/elements/rtprtx.c index 9c6206a..706f291 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); -- 2.7.4