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.
This commit is contained in:
Olivier Crête 2017-05-23 00:52:27 +02:00
parent 930c3cea40
commit e537f3576a

View file

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