summaryrefslogtreecommitdiff
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-12-26 17:46:50 (GMT)
committer Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-12-26 18:20:18 (GMT)
commit133e1cdb566fdb7b183aadce9bf33e81cb25b4bd (patch) (side-by-side diff)
treea637e30ede6495f5f093dfc888c8a42e9c192dac
parent775636e7341c31c86a5871c395d3472fe0f06ed8 (diff)
downloadgst-plugins-base-133e1cdb566fdb7b183aadce9bf33e81cb25b4bd.zip
gst-plugins-base-133e1cdb566fdb7b183aadce9bf33e81cb25b4bd.tar.gz
audiorate: correctly eat empty and dummy buffers
Diffstat (more/less context) (ignore whitespace changes)
-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 4e6c9bd..0adf8e1 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;