projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c068e
)
check: Improve audioresample test
author
Jan Schmidt
<thaytan@noraisin.net>
Fri, 11 Sep 2009 20:44:18 +0000
(21:44 +0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Fri, 11 Sep 2009 20:44:18 +0000
(21:44 +0100)
Make the audioresample test work with CK_FORK=no, and
turn a g_print into a GST_INFO.
tests/check/elements/audioresample.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/audioresample.c
b/tests/check/elements/audioresample.c
index b9eb520f127c5bbefa1753984707b53cddc54ab2..4a67a9e0ac94dccf65e8e4fa6d51a4a9dda14664 100644
(file)
--- a/
tests/check/elements/audioresample.c
+++ b/
tests/check/elements/audioresample.c
@@
-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)));
}