lavf: switch to AVStream.time_base as the hint for the muxer timebase
authorAnton Khirnov <anton@khirnov.net>
Sun, 18 May 2014 10:12:59 +0000 (12:12 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 18 Jun 2014 13:12:34 +0000 (15:12 +0200)
commit194be1f43ea391eb986732707435176e579265aa
tree2045d50660f7e045fde6cda7a2ed8213c24f5aab
parentd754ed41727b1fcbab335b510248a9758a73320c
lavf: switch to AVStream.time_base as the hint for the muxer timebase

Previously, AVStream.codec.time_base was used for that purpose, which
was quite confusing for the callers. This change also opens the path for
removing AVStream.codec.

The change in the lavf-mkv test is due to the native timebase (1/1000)
being used instead of the default one (1/90000), so the packets are now
sent to the crc muxer in the same order in which they are demuxed
(previously some of them got reordered because of inexact timestamp
conversion).
18 files changed:
doc/APIchanges
libavformat/avformat.h
libavformat/avienc.c
libavformat/filmstripenc.c
libavformat/framehash.c
libavformat/movenc.c
libavformat/mpegtsenc.c
libavformat/mux.c
libavformat/mxfenc.c
libavformat/oggenc.c
libavformat/riffenc.c
libavformat/rmenc.c
libavformat/swf.h
libavformat/swfenc.c
libavformat/utils.c
libavformat/version.h
libavformat/yuv4mpegenc.c
tests/ref/lavf/mkv