gst/audiorate/gstaudiorate.c: Don't rely on incoming buffers offset anymore, since...
authorEdward Hervey <bilboed@bilboed.com>
Tue, 29 Aug 2006 10:32:34 +0000 (10:32 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 29 Aug 2006 10:32:34 +0000 (10:32 +0000)
commit317bb22acaa24b2187e196543fd03136c8df8dba
treeeeb684cd56357d1a21ca0f53ad05c010f464e3d8
parent1eb2a256837fe1c707824f46140dc387f8f8d78e
gst/audiorate/gstaudiorate.c: Don't rely on incoming buffers offset anymore, since it is completely broken when using...

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
Don't rely on incoming buffers offset anymore, since it is completely
broken when using multiple segments.
Instead convert the incoming buffers timestamp to running time, and
then convert that value to the offsets.
Also inform GstSegment of the last outputted stop position, which is
needed if we received several segments with an unknown stop value.
ChangeLog
gst/audiorate/gstaudiorate.c