summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2020-07-04 23:43:12 +0200
committerMarton Balint <cus@passwd.hu>2020-07-29 23:10:12 +0200
commit53a4620fbae20b640d7fd75a64a6d3ff6dcc8b43 (patch)
tree59e21ad899a8dc19325f2d58bf805b64a9b97333 /doc
parent6ceaeecaf562020f25beab0614157fb2dae32391 (diff)
fftools/ffmpeg: make specifying thread_queue_size turn on threaded input
Threaded input can increase smoothness of e.g. x11grab significantly. Before this patch, in order to activate threaded input the user had to specify a "dummy" additional input, with this change it is no longer required. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc')
-rw-r--r--doc/ffmpeg.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 70b8965d7f..267ddfe8b5 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1689,8 +1689,9 @@ not start from timestamp 0, such as transport streams.
@item -thread_queue_size @var{size} (@emph{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; raising this value can
-avoid it.
+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 do this if multiple inputs are specified.
@item -sdp_file @var{file} (@emph{global})
Print sdp information for an output stream to @var{file}.