This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8d8c3fd81383ba9d6bde08b00efb5212bc24bc02 Author: Niklas Haas <[email protected]> AuthorDate: Mon Aug 31 16:21:57 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Mon Sep 21 14:23:20 2026 +0000 fftools/ffmpeg_opt: remove stale -thread_queue_size input option The rewrite in d119ae2fd82a494d9430ff4d4fc262961a68c598 silently turned this option into a no-op on the input side. The documentation wording is also still very much out of date, as FFmpeg is now always threaded. We could hook this up to the demuxer queue size again, but given that the caveats no longer apply, and this option is a bit pointless outside of debugging, I have opted to just remove the corresponding section and mark it as output-only. Sponsored-by: nxtedition AB Signed-off-by: Niklas Haas <[email protected]> --- doc/ffmpeg.texi | 12 +++--------- fftools/ffmpeg_opt.c | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index a312fd31b6..1e7f280996 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -2831,15 +2831,9 @@ to the @option{-ss} option is considered an actual timestamp, and is not offset by the start time of the file. This matters only for files which do not start from timestamp 0, such as transport streams. -@item -thread_queue_size @var{size} (@emph{input/output}) -For input, this option sets the maximum number of queued packets when reading -from the file or device. With low latency / high rate live streams, packets may -be discarded if they are not read in a timely manner; setting this value can -force ffmpeg to use a separate input thread and read packets as soon as they -arrive. By default ffmpeg only does this if multiple inputs are specified. - -For output, this option specified the maximum number of packets that may be -queued to each muxing thread. +@item -thread_queue_size @var{size} (@emph{output}) +This option specifies the maximum number of packets that may be queued to each +muxing thread. @item -sdp_file @var{file} (@emph{global}) Print sdp information for an output stream to @var{file}. diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index fd7260c3f7..f87f1fef2d 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -1802,9 +1802,9 @@ const OptionDef options[] = { { "disposition", OPT_TYPE_STRING, OPT_PERSTREAM | OPT_OUTPUT | OPT_EXPERT, { .off = OFFSET(disposition) }, "disposition", "" }, - { "thread_queue_size", OPT_TYPE_INT, OPT_OFFSET | OPT_EXPERT | OPT_INPUT | OPT_OUTPUT, + { "thread_queue_size", OPT_TYPE_INT, OPT_OFFSET | OPT_EXPERT | OPT_OUTPUT, { .off = OFFSET(thread_queue_size) }, - "set the maximum number of queued packets from the demuxer" }, + "set the maximum number of queued packets on the muxer" }, { "find_stream_info", OPT_TYPE_BOOL, OPT_INPUT | OPT_EXPERT | OPT_OFFSET, { .off = OFFSET(find_stream_info) }, "read and decode the streams to fill missing information with heuristics" }, -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
