From patchwork Sun Jul 5 15:49:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Thompson X-Patchwork-Id: 20823 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 34E1644BC3D for ; Sun, 5 Jul 2020 18:52:08 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 169B0689AA2; Sun, 5 Jul 2020 18:52:08 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 24C5A688344 for ; Sun, 5 Jul 2020 18:52:01 +0300 (EEST) Received: by mail-wr1-f49.google.com with SMTP id r12so38056075wrj.13 for ; Sun, 05 Jul 2020 08:52:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jkqxz-net.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=MyUDtj0zkDD1UCwtiJ44eIP/IwZ0W08+Jui34R9OCIk=; b=As897PEi16Tg0T0PfD22NLYQQhX9EYew11kQbD/NDhgqV+1Q9f0ZaCgsFtj3AKu5kn GLcRGMRZ24gCY9yJjB+YuajoVeKZEPa0gN7DdHnqWc3k4SHddF3tmudPKgmebkrN+wbx CquWXmk/Q6ys9tu8Z5wXF7THnQ4UiqmHCB0Z/P4FEsdD1Wtm/dzCkI6YjDgvPAYCJHtb F70DuNsgNZzVH5oIeuTLzUk9m/IfxinnbJKdJJOgoDGKolZmE6IyRvE5cjmInc/rH3Q7 bbQHlcWeqniTIGo+lXJKkNfnYv5mdUrifBZ24qx9cM9HR0WanzWKhPNiDeCqDnoxwVfR ZyBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MyUDtj0zkDD1UCwtiJ44eIP/IwZ0W08+Jui34R9OCIk=; b=CJIIakIeZEwFRQ0/r6rg38rjw2Z0dRlFRwoZgDWvE0FPdx60uHckEFnB9tNw2llgU4 o5LUZ6B7olA/ZUGzWMClD8/Jj9b5JlKxitl9BxyS4fdCShSHpuDkd8dpFqjvP3Lt4WvK yi7RKMgN19jFU7IPcqaVmrXmCl/mLvoVam3cDEBp2QxRgKh4IvjvtL7jEyS967VM1ASq 6mim1Tyzi+DrmWr4UvtEd7KMIQkJAuUo2qAJUO4uXT1B96m77UdGgjyw5boIA3GvDyK5 H5/+x8RioNVJCx7QMaXSJYv6dl2WQiv64Sc/UdaRcQUTf6f98bymjm0mrvj28etmBo18 Nglw== X-Gm-Message-State: AOAM533PpFZV53znTMA3L/2DyBygW0CthJz248wVOJb44Paf1G96Bq8a CijelZxfbxvXh5LN8ninoaYgREj4cGM= X-Google-Smtp-Source: ABdhPJyd20Y+ow4dNB49RZMlXJ9FoUB1S8gAnsbgtYpHDe4Qs5zTW7z9JEYqJIkAOF/8eQJbL4s6jg== X-Received: by 2002:adf:fa81:: with SMTP id h1mr45205709wrr.266.1593964320360; Sun, 05 Jul 2020 08:52:00 -0700 (PDT) Received: from localhost.localdomain (cpc91242-cmbg18-2-0-cust650.5-4.cable.virginm.net. [82.8.130.139]) by smtp.gmail.com with ESMTPSA id j4sm16070985wrp.51.2020.07.05.08.51.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jul 2020 08:51:59 -0700 (PDT) From: Mark Thompson To: ffmpeg-devel@ffmpeg.org Date: Sun, 5 Jul 2020 16:49:46 +0100 Message-Id: <20200705154946.401280-4-sw@jkqxz.net> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200705154946.401280-1-sw@jkqxz.net> References: <20200705154946.401280-1-sw@jkqxz.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/4] doc/indevs: Note improved behaviour of kmsgrab with Linux 5.7 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- doc/indevs.texi | 8 ++++++-- 1 file 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