diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-06-03 17:59:32 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-06-03 17:59:32 -0400 |
commit | 4377dfeaddce94e97a5037f2dd97344fb947cc00 (patch) | |
tree | d1f7c77ad21d9da6769a3bc97a1c827e8b4edc06 /tests | |
parent | 341b691b18b08721fe91fac57912b34ea3fc2df8 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/rtprtx.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |