mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
committed by
Jan Ekström
parent
9538fb5a7a
commit
6290420380
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user