[FFmpeg-devel] [PATCH] ALSA for libavdevice

Michael Niedermayer michaelni
Tue Dec 16 02:40:52 CET 2008

On Mon, Dec 15, 2008 at 02:34:04PM +0100, Nicolas George wrote:
> Le quintidi 25 frimaire, an CCXVII, Michael Niedermayer a ?crit?:
> > you add 2 values, one being nanoseconds, one being samples. The timebase
> > choosen is a multiple of neither.
> Neither timebase can represent the value exactly, but both are accurate
> enough so that it does not matter. Then the choice should be done, I think,
> based on which one is more practical. And IMHO, a second-based unit is more
> practical when it comes to integration with other parts of the software.
> But I do not insist on it, and I will leave you the final word: if you just
> tell me the solution you prefer, I will implement it. As far as I remember,
> the possibilities are: nanoseconds, microseconds, samples, 128th of samples;
> and the origin may be the Epoch or the initialization of the stream.

choose which you prefer, if it causes problems in reality (which i admit is
unlikely) it can be changed later

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081216/f2ac0bc1/attachment.pgp>

More information about the ffmpeg-devel mailing list