diff --git a/tests/check/gst/media.c b/tests/check/gst/media.c index 0c851350ce..c8cdf30b46 100644 --- a/tests/check/gst/media.c +++ b/tests/check/gst/media.c @@ -282,8 +282,6 @@ GST_START_TEST (test_media_dyn_prepare) fail_unless (gst_rtsp_media_unprepare (media)); fail_unless (gst_rtsp_media_n_streams (media) == 0); - fail_unless (gst_rtsp_media_n_streams (media) == 0); - thread = gst_rtsp_thread_pool_get_thread (pool, GST_RTSP_THREAD_TYPE_MEDIA, NULL); fail_unless (gst_rtsp_media_prepare (media, thread)); @@ -469,8 +467,6 @@ GST_START_TEST (test_media_multidyn_prepare) fail_unless (gst_rtsp_media_unprepare (media)); fail_unless (gst_rtsp_media_n_streams (media) == 0); - fail_unless (gst_rtsp_media_n_streams (media) == 0); - thread = gst_rtsp_thread_pool_get_thread (pool, GST_RTSP_THREAD_TYPE_MEDIA, NULL); fail_unless (gst_rtsp_media_prepare (media, thread));