ffmpeg/fftools
Anton Khirnov aae9de0cb2 fftools/ffmpeg: move -stream_loop handling to the demuxer thread
-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.
2022-08-08 16:20:58 +02:00
..
cmdutils.c fftools: Fix preset search pathes 2022-07-08 13:58:49 +02:00
cmdutils.h
ffmpeg_demux.c fftools/ffmpeg: move -stream_loop handling to the demuxer thread 2022-08-08 16:20:58 +02:00
ffmpeg_filter.c fftools/ffmpeg_filter: drop a block commented out since 2012 2022-07-28 16:37:16 +02:00
ffmpeg_hw.c fftools/ffmpeg_hw: stop logging to the decoder context 2022-08-08 16:20:58 +02:00
ffmpeg_mux.c fftools/ffmpeg_mux: move some functions closer to their only callers 2022-07-28 16:37:16 +02:00
ffmpeg_opt.c fftools/ffmpeg: store the input file index in InputFile 2022-08-08 16:20:58 +02:00
ffmpeg.c fftools/ffmpeg: move -stream_loop handling to the demuxer thread 2022-08-08 16:20:58 +02:00
ffmpeg.h fftools/ffmpeg: move -stream_loop handling to the demuxer thread 2022-08-08 16:20:58 +02:00
ffplay.c fftools/ffplay: fix YUV conversion mode 2022-06-27 12:17:59 +02:00
ffprobe.c ffprobe: print AVFrame.duration 2022-07-19 12:27:18 +02:00
fopen_utf8.h fftools/fopen_utf8: support long paths on Windows for fftools 2022-06-19 01:38:23 +03:00
Makefile fftools/ffmpeg: move the input thread into its own file 2022-08-08 16:20:58 +02:00
objpool.c fftools/objpool: Don't use return with expression when returning void 2022-07-23 18:58:35 +02:00
objpool.h fftools: add an object pool 2022-07-23 11:53:19 +02:00
opt_common.c opt_common: note D and T type streams for completeness. 2022-05-20 23:42:23 +05:30
opt_common.h
sync_queue.c fftools/ffmpeg: replace AVFrame.pkt_duration with duration 2022-07-24 08:46:16 +02:00
sync_queue.h fftools/ffmpeg: use the sync queues to handle -frames 2022-07-23 11:53:19 +02:00
thread_queue.c fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00
thread_queue.h fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00