gst/audiorate/gstaudiorate.c: Delete bad debug code.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
Delete bad debug code.
Fixes #381219
This commit is contained in:
Michael Smith 2006-12-01 10:36:50 +00:00
parent 748960f9ee
commit ff480c70d4
2 changed files with 6 additions and 9 deletions

View file

@ -1,3 +1,9 @@
2006-12-01 Michael Smith <msmith@fluendo.com>
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
Delete bad debug code.
Fixes #381219
2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
* gst/videoscale/vs_4tap.c:

View file

@ -509,15 +509,6 @@ gst_audio_rate_chain (GstPad * pad, GstBuffer * buf)
audiorate->in++;
static guint64 nextts = 0;
#define LLABS(a) ((gint64)(a) < 0 ? -(a):(a))
if (nextts != GST_BUFFER_TIMESTAMP (buf) && LLABS (GST_BUFFER_TIMESTAMP (buf) - nextts) > 21000) /* 21 us, ~1 sample */
GST_DEBUG_OBJECT (audiorate, "Expected %lld, got %lld! --> %lld", nextts,
GST_BUFFER_TIMESTAMP (buf),
LLABS (GST_BUFFER_TIMESTAMP (buf) - nextts));
nextts = GST_BUFFER_TIMESTAMP (buf) + GST_BUFFER_DURATION (buf);
in_time = GST_BUFFER_TIMESTAMP (buf);
in_size = GST_BUFFER_SIZE (buf);
in_samples = in_size / audiorate->bytes_per_sample;