webrtcdsp: Offset timestamp with duration
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 23 Jun 2016 02:28:03 +0000 (22:28 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 23 Jun 2016 12:04:18 +0000 (08:04 -0400)
commitc551a853b323a6148d26aae3b22081df92d8e281
tree3bdd2a23debea5d12d1b5eddbe80725e21d56f75
parent86aa3b5f9c7016e749e4f389adc6c5a29108b6f3
webrtcdsp: Offset timestamp with duration

The saved timestamp is used to compute the delay of the probe data.
As it's used at the following incoming buffer, it needs to be offset
with the duration of the buffer to represent the end position. Also,
properly initialize the saved timestamp and protect against TIME_NONE.
ext/webrtcdsp/gstwebrtcdsp.cpp