Commit 1b7a0df5 authored by Michael Smith's avatar Michael Smith
Browse files

gst/audiorate/gstaudiorate.c: Debug output fixes.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
Debug output fixes.
* tests/check/elements/audiorate.c: (do_perfect_stream_test),
(GST_START_TEST):
Change the number of buffers used; 500 is too many and leads to
timeouts.
parent 2c9bef01
2007-08-10 Michael Smith <msmith@fluendo.com>
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
Debug output fixes.
* tests/check/elements/audiorate.c: (do_perfect_stream_test),
(GST_START_TEST):
Change the number of buffers used; 500 is too many and leads to
timeouts.
2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
 
* gst/playback/gstqueue2.c:
......@@ -551,10 +551,6 @@ gst_audio_rate_chain (GstPad * pad, GstBuffer * buf)
while (fillsamples > 0) {
guint64 cursamples = MIN (fillsamples, audiorate->rate);
GST_DEBUG_OBJECT (audiorate,
"inserting %lld samples of total %lld at ts %lld", cursamples,
fillsamples, audiorate->next_ts);
fillsamples -= cursamples;
fillsize = cursamples * audiorate->bytes_per_sample;
......
......@@ -209,7 +209,7 @@ do_perfect_stream_test (guint rate, guint width, gdouble drop_probability,
src = gst_element_factory_make ("audiotestsrc", "audiotestsrc");
fail_unless (src != NULL);
g_object_set (src, "num-buffers", 500, NULL);
g_object_set (src, "num-buffers", 100, NULL);
conv = gst_element_factory_make ("audioconvert", "audioconvert");
fail_unless (conv != NULL);
......@@ -445,7 +445,6 @@ GST_START_TEST (test_large_discont)
GST_END_TEST;
static Suite *
audiorate_suite (void)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment