]> git.sesse.net Git - ffmpeg/commit
nutenc: use 1/sample rate as timebase for audio instead of framesize/sample rate
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Oct 2012 19:56:27 +0000 (21:56 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Oct 2012 23:09:12 +0000 (01:09 +0200)
commit4eb0f5f635462562275200ecb6b4e1b718fcae37
tree73eb2afa736f9a5e1b3a74808d6b2eb48084d8d0
parentc4dba58f47a9b1b37458ddb2dd8500b7f3ea4d06
nutenc: use 1/sample rate as timebase for audio instead of framesize/sample rate

This way audio frames can be exactly stored even when they are not
aligned with timestamp 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/nutenc.c
tests/ref/lavf/nut
tests/ref/seek/lavf_nut