diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-06-04 12:01:51 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-06-11 10:08:58 -0300 |
commit | 569a9d3d70324cf77391820155846a5b9d429ad5 (patch) | |
tree | 105f28629ba3b2a62ae510d36f15353296f1ad2d /libavformat/mov_chan.h | |
parent | 52dc21a68df37f5aa36b334de4d10747780bff9d (diff) | |
download | ffmpeg-569a9d3d70324cf77391820155846a5b9d429ad5.tar.gz |
pthread_frame: change the way delay is set
It is a constant known at codec init, so set it in
ff_frame_thread_init(). Also, only set it for video, since the meaning
of this field is not well-defined for audio with frame threading.
Fixes availability of delay in callbacks invoked from the per-thread
contexts after 1f4cf92cfbd3accbae582ac63126ed5570ddfd37.
(cherry picked from commit 6943ab688d0c75dbab3222b5b80457ab72a0615f)
Diffstat (limited to 'libavformat/mov_chan.h')
0 files changed, 0 insertions, 0 deletions