vo: make swapchain-depth option generic for all VOs

In preparation for making vo_drm able to use swapchain-depth
This commit is contained in:
Anton Kindestam
2019-09-28 10:26:23 +02:00
committed by Jan Ekström
parent 9538fb5a7a
commit 6290420380
11 changed files with 21 additions and 24 deletions

View File

@@ -1469,6 +1469,13 @@ Video
this can break on streams not encoded by x264, or if a stream encoded by a
newer x264 version contains no version info.
``--swapchain-depth=<N>``
Allow up to N in-flight frames. This essentially controls the frame
latency. Increasing the swapchain depth can improve pipelining and prevent
missed vsyncs, but increases visible latency. This option only mandates an
upper limit, the implementation can use a lower latency than requested
internally. A setting of 1 means that the VO will wait for every frame to
become visible before starting to render the next frame. (Default: 3)
Audio
-----
@@ -5170,14 +5177,6 @@ The following video options are currently all specific to ``--vo=gpu`` and
Android with ``--gpu-context=android`` only.
``--swapchain-depth=<N>``
Allow up to N in-flight frames. This essentially controls the frame
latency. Increasing the swapchain depth can improve pipelining and prevent
missed vsyncs, but increases visible latency. This option only mandates an
upper limit, the implementation can use a lower latency than requested
internally. A setting of 1 means that the VO will wait for every frame to
become visible before starting to render the next frame. (Default: 3)
``--gpu-sw``
Continue even if a software renderer is detected.