rtpmpvpay: fix timestamping of rtp buffers
authorThijs Vermeir <thijsvermeir@gmail.com>
Tue, 12 Oct 2010 13:02:42 +0000 (15:02 +0200)
committerThijs Vermeir <thijsvermeir@gmail.com>
Tue, 12 Oct 2010 13:17:02 +0000 (15:17 +0200)
commitbcde8c1b297540c1297c70b06b3eea878b93a4e9
treee4dfde810eea4897d883bf21209e4d03be05f012
parent96fb89f86c591ba76d552cb2ce67749157d19bd7
rtpmpvpay: fix timestamping of rtp buffers

Incomming buffer is only pushed on the adapter at the end of the
handle_buffer function. But duration/timestamp of this buffer is already
taken into account for the current data in the adapter. This leads to
wrong rtp timestamps and extra latency.
gst/rtp/gstrtpmpvpay.c