mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
audiorate: correctly eat empty and dummy buffers
This commit is contained in:
parent
775636e734
commit
133e1cdb56
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue