diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-27 12:04:29 +0200 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-03-03 08:45:43 +0100 |
commit | 4ee5aed122ba7d289c1686eca6eba161d5d62304 (patch) | |
tree | 3daf3a3d530b96a8958a02d2b5ed38c58de18f18 /ffmpeg_filter.c | |
parent | 33580a8625c77591919b6155a48da04dccc8d398 (diff) | |
download | ffmpeg-4ee5aed122ba7d289c1686eca6eba161d5d62304.tar.gz |
ffmpeg: do packet ts rescaling in write_packet()
This will be useful in the following commit, after which the muxer
timebase is not always available when encoding.
This merges Libav commit 3e265ca. It was previously skipped.
There are some changes with how/when the mux_timebase field is set,
because the Libav approach often causes a too imprecise time base
to be set. This is hard, because the muxer's write_header function
can readjust the timebase, at which point we might already have
encoded packets buffered. (It might be better to buffer them after
the encoder, instead of after all the timestamp handling logic
before muxing.)
The two FATE tests change because the output time base is raised
for subtitles. (Needed to avoid certain rounding issues in other
cases.)
Includes a minor merge fix by Mark Thompson, and
avconv: Move rescale to stream timebase before monotonisation
also by Mark Thompson <sw@jkqxz.net>.
Signed-off-by: wm4 <nfxjfg@googlemail.com>
Diffstat (limited to 'ffmpeg_filter.c')
0 files changed, 0 insertions, 0 deletions