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.
This commit is contained in:
Michael Smith 2007-08-10 13:55:44 +00:00
parent 2c9bef0180
commit 1b7a0df57e
3 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,12 @@
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:

View file

@ -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;

View file

@ -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)
{