From 8dcb624418dd29efed1aae5c0dd2f0a8f9ef5485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 2 Jun 2005 10:13:14 +0000 Subject: gst/audiorate/gstaudiorate.c: Make case of overlapping buffers work (a sub buffer with a greater-than-zero offset can... Original commit message from CVS: * gst/audiorate/gstaudiorate.c: (gst_audiorate_link), (gst_audiorate_init), (gst_audiorate_chain): Make case of overlapping buffers work (a sub buffer with a greater-than-zero offset cannot have the same length as the input buffer); also, calculate offset fields from timestamp/duration and vice versa when those fields are not set (we later assume they are all set and valid, so we better set them to something sane instead of doing calculations with random input values). (also fixes #305428) --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6bf66161..a31e517a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2005-06-02 Tim-Philipp Müller + + * gst/audiorate/gstaudiorate.c: (gst_audiorate_link), + (gst_audiorate_init), (gst_audiorate_chain): + Make case of overlapping buffers work (a sub buffer + with a greater-than-zero offset cannot have the same + length as the input buffer); also, calculate offset + fields from timestamp/duration and vice versa when + those fields are not set (we later assume they are all + set and valid, so we better set them to something + sane instead of doing calculations with random input + values). (also fixes #305428) + 2005-06-02 Stefan Kost * ext/faad/gstfaad.c: (gst_faad_sinkconnect), (gst_faad_chain): -- cgit v1.2.1