lavd/pulse_audio_enc: fix timestamp calculation
authorLukasz Marek <lukasz.m.luki@gmail.com>
Thu, 24 Oct 2013 13:11:19 +0000 (15:11 +0200)
committerLukasz Marek <lukasz.m.luki@gmail.com>
Sun, 27 Oct 2013 20:43:05 +0000 (21:43 +0100)
commite5b3b75669fc8f2cf485faa1d44143e442079d82
tree8fc072a3593d8cb4ef68bea58cdd78298a1ba2ab
parent75b2bbe21d93ce18b0362f1deaa9f11bfab75e8c
lavd/pulse_audio_enc: fix timestamp calculation

Current implementation didn't include duration of
last processed packet.
Also remove access to st->cur_dts and replace with pkt->pts.

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
libavdevice/pulse_audio_enc.c