check: Improve audioresample test

Make the audioresample test work with CK_FORK=no, and
turn a g_print into a GST_INFO.
This commit is contained in:
Jan Schmidt 2009-09-11 21:44:18 +01:00
parent 26c068e9e5
commit a9f815bd8d

View file

@ -131,6 +131,7 @@ cleanup_audioresample (GstElement * audioresample)
gst_check_teardown_src_pad (audioresample); gst_check_teardown_src_pad (audioresample);
gst_check_teardown_sink_pad (audioresample); gst_check_teardown_sink_pad (audioresample);
gst_check_teardown_element (audioresample); gst_check_teardown_element (audioresample);
gst_check_drop_buffers ();
} }
static void static void
@ -792,7 +793,7 @@ fakesink_handoff_cb (GstElement * object, GstBuffer * buffer, GstPad * pad,
} }
if (ctx->in_buffer_count != ctx->out_buffer_count) { if (ctx->in_buffer_count != ctx->out_buffer_count) {
g_print ("timestamp %" GST_TIME_FORMAT "\n", GST_INFO ("timestamp %" GST_TIME_FORMAT,
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer))); GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)));
} }