mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
2c9bef0180
commit
1b7a0df57e
3 changed files with 10 additions and 6 deletions
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue