mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
26c068e9e5
commit
a9f815bd8d
1 changed files with 2 additions and 1 deletions
|
@ -131,6 +131,7 @@ cleanup_audioresample (GstElement * audioresample)
|
|||
gst_check_teardown_src_pad (audioresample);
|
||||
gst_check_teardown_sink_pad (audioresample);
|
||||
gst_check_teardown_element (audioresample);
|
||||
gst_check_drop_buffers ();
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -792,7 +793,7 @@ fakesink_handoff_cb (GstElement * object, GstBuffer * buffer, GstPad * pad,
|
|||
}
|
||||
|
||||
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)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue