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.
GstHarness *h;
GstHarness *h2;
GstBuffer *buffer;
- GstQuery *q;
gint i;
GstEvent *ev;
GstCaps *ecaps, *caps;
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);