summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-12-26 18:46:50 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-12-26 19:20:18 +0100
commit133e1cdb566fdb7b183aadce9bf33e81cb25b4bd (patch)
treea637e30ede6495f5f093dfc888c8a42e9c192dac
parent775636e7341c31c86a5871c395d3472fe0f06ed8 (diff)
audiorate: correctly eat empty and dummy buffers
-rw-r--r--gst/audiorate/gstaudiorate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audiorate/gstaudiorate.c b/gst/audiorate/gstaudiorate.c
index 4e6c9bd4d..0adf8e18b 100644
--- a/gst/audiorate/gstaudiorate.c
+++ b/gst/audiorate/gstaudiorate.c
@@ -672,10 +672,10 @@ gst_audio_rate_chain (GstPad * pad, GstBuffer * buf)
}
}
+send:
if (GST_BUFFER_SIZE (buf) == 0)
goto beach;
-send:
/* Now calculate parameters for whichever buffer (either the original
* or truncated one) we're pushing. */
GST_BUFFER_OFFSET (buf) = audiorate->next_offset;