[FFmpeg-devel] [PATCH 1/2] lavd/alsa: fix timestamp calculation

Nicolas George george at nsup.org
Wed Oct 30 11:32:40 CET 2013


Le sextidi 6 brumaire, an CCXXII, Lukasz M a écrit :
> Fixed patch attached. Some additional changes added.
> For reffrence you can also have a look on thread regarding the same change
> in pulse audio.
> http://ffmpeg.org/pipermail/ffmpeg-devel/2013-October/150006.html

> From 6cecd2f9511014395273abdc06ee942c8302e75f Mon Sep 17 00:00:00 2001
> From: Lukasz Marek <lukasz.m.luki at gmail.com>
> Date: Sat, 26 Oct 2013 01:19:31 +0200
> Subject: [PATCH 1/2] lavd/alsa: fix timestamp calculation
> 
> Current implementation didn't include duration of
> last processed packet.
> Device may return negative timestamps without
> this correction.
> 
> Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>
> ---
>  libavdevice/alsa-audio-enc.c |    6 +++++-
>  libavdevice/alsa-audio.h     |    1 +
>  2 files changed, 6 insertions(+), 1 deletion(-)

Thanks. This version looks fine to me.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131030/ae557afe/attachment.asc>


More information about the ffmpeg-devel mailing list