diff mbox series

[FFmpeg-devel,1/2] doc/filters:ddagrab: elaborate on the semantics of framerate

Message ID 20231119114917.1277-1-anton@khirnov.net
State Accepted
Commit 6a22d800419fd4b492d65cac0910fda515c2dc3d
Headers show
Series [FFmpeg-devel,1/2] doc/filters:ddagrab: elaborate on the semantics of framerate | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Anton Khirnov Nov. 19, 2023, 11:49 a.m. UTC
---
 doc/filters.texi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Gyan Doshi Nov. 22, 2023, 4:02 a.m. UTC | #1
On 2023-11-19 05:19 pm, Anton Khirnov wrote:
> ---
>   doc/filters.texi | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 38615e4f18..bd4e4ca8f7 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -28163,7 +28163,12 @@ Only affects hardware cursors. If a game or application renders its own cursor,
>   it'll always be captured.
>   
>   @item framerate
> -Framerate at which the desktop will be captured.
> +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.
>   
>   Defaults to 30 FPS.
>   

LGTM.

Regards,
Gyan
diff mbox series

Patch

diff --git a/doc/filters.texi b/doc/filters.texi
index 38615e4f18..bd4e4ca8f7 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -28163,7 +28163,12 @@  Only affects hardware cursors. If a game or application renders its own cursor,
 it'll always be captured.
 
 @item framerate
-Framerate at which the desktop will be captured.
+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.
 
 Defaults to 30 FPS.