From 418e1fe09001f9a4defc291d9af221d598d9cf45 Mon Sep 17 00:00:00 2001 From: Francisco Velazquez Date: Thu, 13 Aug 2015 11:24:10 +0200 Subject: [PATCH] media-test: Removing unnecessary assertion https://bugzilla.gnome.org/show_bug.cgi?id=753385 --- tests/check/gst/media.c | 4 ---- 1 file changed, 4 deletions(-) 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));