Commit ff480c70 authored by Michael Smith's avatar Michael Smith
Browse files

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
parent 748960f9
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:
......@@ -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;
......
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