[FFmpeg-devel] [PATCH] Avisynth seeking out of sync

arnaud.brochard at free.fr arnaud.brochard
Sat Oct 25 02:34:51 CEST 2008


Sorry, forgot to join the file :p

Selon arnaud.brochard at free.fr:

> Hi, I found an out of sync problem with the seeking option (-ss) on an
> AviSynth
> (avs) input file: the more far is the video seeking position, the larger is
> the
> out of sync.
> So I checked out the code and found that a variable (chunk_samples) was of
> long
> type and badly rounded by calculations, which led to the problem. I solved it
> with a change of type to float, and a division operation with no rounding.
>
> See attached patch !
>
> Regards,
>
> A. Brochard


-------------- next part --------------
A non-text attachment was scrubbed...
Name: avisynth.patch
Type: application/octet-stream
Size: 901 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081025/f0516cf7/attachment.obj>



More information about the ffmpeg-devel mailing list