diff options
author | Mark Thompson <sw@jkqxz.net> | 2020-07-05 16:49:46 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2020-08-09 20:18:49 +0100 |
commit | 991daf3895cf2c322e288f015ae8d5ef0d3b45f3 (patch) | |
tree | 8971a4093be6133c00ca243b25a94a033860037e /doc/indevs.texi | |
parent | ff14858a6045aa62cd508b4a6c50973a291c91aa (diff) | |
download | ffmpeg-991daf3895cf2c322e288f015ae8d5ef0d3b45f3.tar.gz |
doc/indevs: Note improved behaviour of kmsgrab with Linux 5.7
Diffstat (limited to 'doc/indevs.texi')
-rw-r--r-- | doc/indevs.texi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/indevs.texi b/doc/indevs.texi index 0f33fc66d8..4d2312e201 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -889,11 +889,15 @@ If you don't understand what all of that means, you probably don't want this. L DRM device to capture on. Defaults to @option{/dev/dri/card0}. @item format -Pixel format of the framebuffer. Defaults to @option{bgr0}. +Pixel format of the framebuffer. This can be autodetected if you are running Linux 5.7 +or later, but needs to be provided for earlier versions. Defaults to @option{bgr0}, +which is the most common format used by the Linux console and Xorg X server. @item format_modifier Format modifier to signal on output frames. This is necessary to import correctly into -some APIs, but can't be autodetected. See the libdrm documentation for possible values. +some APIs. It can be autodetected if you are running Linux 5.7 or later, but will need +to be provided explicitly when needed in earlier versions. See the libdrm documentation +for possible values. @item crtc_id KMS CRTC ID to define the capture source. The first active plane on the given CRTC |