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
This commit is contained in:
Olivier Crête 2014-06-03 17:59:32 -04:00
parent 341b691b18
commit 4377dfeadd

View file

@ -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);