diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-03-22 10:41:55 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-08-08 16:20:58 +0200 |
commit | aae9de0cb2887e6e0bbfda6ffdf85ab77d3390f0 (patch) | |
tree | c60b785b4dd5485c5d3df0aaa61c4c9c5b7ec602 /tests/fate/lossless-video.mak | |
parent | b99462cd277e593b84c578fc4f9b9b33db98a83a (diff) | |
download | ffmpeg-aae9de0cb2887e6e0bbfda6ffdf85ab77d3390f0.tar.gz |
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.
Diffstat (limited to 'tests/fate/lossless-video.mak')
0 files changed, 0 insertions, 0 deletions