mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
d56652fdc8
This field contains different values depending on whether the stream is being decoded or not. When it is, InputStream.pts is set to the timestamp of the last decoded frame. Otherwise, it is made equal to InputStream.dts. Since a given InputStream can be at the same time decoded and streamcopied to any number of output streams, this use is incorrect, as decoded frame timestamps can be delayed with respect to input packets by an arbitrary amount (e.g. depending on the thread count when frame threading is used). Replace all uses of InputStream.pts for streamcopy with InputStream.dts, which is its value when decoding is not performed. Stop setting InputStream.pts for pure streamcopy. Also, pass InputStream.dts as a parameter to do_streamcopy(), which will allow that function to be decoupled from InputStream completely in the future. |
||
---|---|---|
.. | ||
cmdutils.c | ||
cmdutils.h | ||
ffmpeg_demux.c | ||
ffmpeg_enc.c | ||
ffmpeg_filter.c | ||
ffmpeg_hw.c | ||
ffmpeg_mux_init.c | ||
ffmpeg_mux.c | ||
ffmpeg_mux.h | ||
ffmpeg_opt.c | ||
ffmpeg.c | ||
ffmpeg.h | ||
ffplay.c | ||
ffprobe.c | ||
fftools.manifest | ||
fftoolsres.rc | ||
fopen_utf8.h | ||
Makefile | ||
objpool.c | ||
objpool.h | ||
opt_common.c | ||
opt_common.h | ||
sync_queue.c | ||
sync_queue.h | ||
thread_queue.c | ||
thread_queue.h |