From: Olivier CrĂȘte Date: Mon, 22 May 2017 22:52:27 +0000 (+0200) Subject: tests: audiointerleave: Remove drain with manual clock X-Git-Tag: 1.19.3~507^2~5181 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b374ca3fb5485c7aa5f05085517eeffaf1167e4;p=platform%2Fupstream%2Fgstreamer.git tests: audiointerleave: Remove drain with manual clock Now that the queries go onto the queue, you may need to pull the crank in order for them to be processed, making this test difficult. --- diff --git a/tests/check/elements/audiointerleave.c b/tests/check/elements/audiointerleave.c index f2e820b..71348f4 100644 --- a/tests/check/elements/audiointerleave.c +++ b/tests/check/elements/audiointerleave.c @@ -980,7 +980,6 @@ GST_START_TEST (test_audiointerleave_2ch_smallbuf) GstHarness *h; GstHarness *h2; GstBuffer *buffer; - GstQuery *q; gint i; GstEvent *ev; GstCaps *ecaps, *caps; @@ -1050,11 +1049,6 @@ GST_START_TEST (test_audiointerleave_2ch_smallbuf) fail_unless_equals_uint64 (gst_clock_get_time (GST_ELEMENT_CLOCK (h->element)), 750 * GST_MSECOND); - /* Check that the queue is really empty */ - q = gst_query_new_drain (); - gst_pad_peer_query (h->srcpad, q); - gst_query_unref (q); - buffer = gst_harness_pull (h); sink_handoff_float32 (NULL, buffer, NULL, GUINT_TO_POINTER (3)); gst_buffer_unref (buffer);