mirror of https://git.ffmpeg.org/ffmpeg.git
ab31473830
Use it instead of AVStream.codecpar in the main thread. While AVStream.codecpar is documented to only be updated when the stream is added or avformat_find_stream_info(), it is actually updated during demuxing. Accessing it from a different thread then constitutes a race. Ideally, some mechanism should eventually be provided for signalling parameter updates to the user. Then the demuxing thread could pick up the changes and propagate them to the decoder. |
||
---|---|---|
.. | ||
Makefile | ||
cmdutils.c | ||
cmdutils.h | ||
ffmpeg.c | ||
ffmpeg.h | ||
ffmpeg_demux.c | ||
ffmpeg_filter.c | ||
ffmpeg_hw.c | ||
ffmpeg_mux.c | ||
ffmpeg_opt.c | ||
ffplay.c | ||
ffprobe.c | ||
fftools.manifest | ||
fftoolsres.rc | ||
fopen_utf8.h | ||
objpool.c | ||
objpool.h | ||
opt_common.c | ||
opt_common.h | ||
sync_queue.c | ||
sync_queue.h | ||
thread_queue.c | ||
thread_queue.h |