matroskaenc: set the stream timebase earlier
authorAnton Khirnov <anton@khirnov.net>
Tue, 27 May 2014 08:28:24 +0000 (10:28 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 29 May 2014 06:01:58 +0000 (08:01 +0200)
commit962d63157322466a9a82f9f9d84c1b6f1b582f65
tree8d6085202bb55a25fbea08f375ef2b41caa848a2
parent43e7f0797f9f821a3866a20f05e512e13c82076a
matroskaenc: set the stream timebase earlier

Fixes calculating the ts offset for audio codecs with delay.
libavformat/matroskaenc.c
tests/ref/lavf/mkv
tests/ref/seek/lavf-mkv