mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-21 06:50:56 +00:00
aae9de0cb2
-stream_loop is currently handled by destroying the demuxer thread, seeking, then recreating it anew. This is very messy and conflicts with the future goal of moving each major ffmpeg component into its own thread. Handle -stream_loop directly in the demuxer thread. Looping requires the demuxer to know the duration of the file, which takes into account the duration of the last decoded audio frame (if any). Use a thread message queue to communicate this information from the main thread to the demuxer thread. |
||
---|---|---|
.. | ||
cmdutils.c | ||
cmdutils.h | ||
ffmpeg_demux.c | ||
ffmpeg_filter.c | ||
ffmpeg_hw.c | ||
ffmpeg_mux.c | ||
ffmpeg_opt.c | ||
ffmpeg.c | ||
ffmpeg.h | ||
ffplay.c | ||
ffprobe.c | ||
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 |