aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-11-19 12:46:48 +0100
committerAnton Khirnov <anton@khirnov.net>2024-01-30 09:32:39 +0100
commit0291b6f824c5cbae5d919559845df4e73dcc459a (patch)
treeafec26311adbf6fa0bd67701ecfefe137c8dd0e9 /doc
parent66f028accbcc88d56716065f7a40a681a798064a (diff)
downloadffmpeg-0291b6f824c5cbae5d919559845df4e73dcc459a.tar.gz
lavfi/vsrc_ddagrab: add an option to avoid duplicating frames
Tested-by: Jiří Eliášek, Misha Aizatulin
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 1d70f4d934..b9b539acee 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -28713,10 +28713,10 @@ it'll always be captured.
@item framerate
Maximum framerate at which the desktop will be captured - the interval between
successive frames will not be smaller than the inverse of the framerate. When
-the desktop is not being updated often enough, the filter will duplicate
-a previous frame. Note that there is no background buffering going on, so when
-the filter is not polled often enough then the actual inter-frame interval may
-be significantly larger.
+@var{dup_frames} is true (the default) and the desktop is not being updated
+often enough, the filter will duplicate a previous frame. Note that there is no
+background buffering going on, so when the filter is not polled often enough
+then the actual inter-frame interval may be significantly larger.
Defaults to 30 FPS.
@@ -28749,6 +28749,13 @@ Passes all supported output formats to DDA and returns what DDA decides to use.
Filter initialization will fail if 10 bit format is requested but unavailable.
@end table
+@item dup_frames
+When this option is set to true (the default), the filter will duplicate frames
+when the desktop has not been updated in order to maintain approximately
+constant target framerate. When this option is set to false, the filter will
+wait for the desktop to be updated (inter-frame intervals may vary significantly
+in this case).
+
@end table
@subsection Examples