media-test: Removing unnecessary assertion

https://bugzilla.gnome.org/show_bug.cgi?id=753385
This commit is contained in:
Francisco Velazquez 2015-08-13 11:24:10 +02:00 committed by Nicolas Dufresne
parent 8511ffe178
commit 418e1fe090

View file

@ -282,8 +282,6 @@ GST_START_TEST (test_media_dyn_prepare)
fail_unless (gst_rtsp_media_unprepare (media)); 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);
fail_unless (gst_rtsp_media_n_streams (media) == 0);
thread = gst_rtsp_thread_pool_get_thread (pool, thread = gst_rtsp_thread_pool_get_thread (pool,
GST_RTSP_THREAD_TYPE_MEDIA, NULL); GST_RTSP_THREAD_TYPE_MEDIA, NULL);
fail_unless (gst_rtsp_media_prepare (media, thread)); 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_unprepare (media));
fail_unless (gst_rtsp_media_n_streams (media) == 0); 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, thread = gst_rtsp_thread_pool_get_thread (pool,
GST_RTSP_THREAD_TYPE_MEDIA, NULL); GST_RTSP_THREAD_TYPE_MEDIA, NULL);
fail_unless (gst_rtsp_media_prepare (media, thread)); fail_unless (gst_rtsp_media_prepare (media, thread));