[vlc-devel] fdkaac based audio encoder module (final version in git format)
Rémi Denis-Courmont
remi at remlab.net
Thu Oct 25 17:21:39 CEST 2012
Le jeudi 25 octobre 2012 18:17:52, Sergio M. Ammirata, Ph.D. a écrit :
> Here is the final version with all the discussed changes. I could not
> eliminate the extra variables as they were double pointers.
You should use VLC_TS_INVALID instead of 0 for unspecified timestamp, and
CLOCK_FREQ instead of 1000000.
Furthermore, I don't think double precision computation is a good idea for
timestamps. You should probably use date_t and friends instead, to avoid
rounding errors.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list