From patchwork Fri Jun 19 23:29:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 20508 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 E61B544A58A for ; Sat, 20 Jun 2020 02:29:27 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C6D9368B629; Sat, 20 Jun 2020 02:29:27 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D888268AFBA for ; Sat, 20 Jun 2020 02:29:20 +0300 (EEST) Received: by mail-pl1-f195.google.com with SMTP id y17so4564510plb.8 for ; Fri, 19 Jun 2020 16:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=y4C4J8ujU4IWB/n9gckdxFaIkCgKRfrK/VJ/SA1GMng=; b=I6V6WmC15r+hpLq4p3xkMrVd9psmd4kQXarlrWIXwiMiCqlsNMidbRLNnCgobwVpJ5 ZOOjlW12srbjKri/raR60cRWbX5bncyZlTtXUH5Qr3xYBYwjRYqHHI3RJlkbbfiMGvqV V7r87Hun8to90k7jsyKwHeRFOZlGMaUB4gOAR3/DFqkkorTDT697aEF/RQOHbenKK+XN +Aqm0CTNWbM+/JanUudKAtRJ1uYjfWJgZptpk5e9x74EGRg0EjVv8ev+mCu2fadtKiNw g49pLza7nX/oGAmlkFW8k0tkAwiGPF3CABQn8qCIT4FzP21lVXh5AU5+yS0D/AfzifU7 yEOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=y4C4J8ujU4IWB/n9gckdxFaIkCgKRfrK/VJ/SA1GMng=; b=WVu8i9SF10ZvhyAp/YFy/bmvEMDXfYP/HY7rB6/igQjj7oojmNNyzMtqnbXLo59z13 VahAxEEqt0IhEN3XK+9Le773p0Or1vRecmTDDLSp6+o/yNkl904EQ33kA1BlQt+0P0lj oEswqj04zFccIJ6Nsj9HtzDPnJ3Jt8yrQi8bIiGMYzxDQfK7keLd6aSzC2Sf5XCtfLKp XpHFPP9UyzKrOVG6S0+S2EsSBP/xG5nt47OwPJ9aFwrlE9CcuVoJIbaFDHdj2GD4MFSh aN2TS+zVc1nkCai7bNMhi2iTF0HdZu4JqwGapXzBnJnfJQB67lABW7yPnBf8x6qPMoOA WsTg== X-Gm-Message-State: AOAM533RE5raD3JuvdD5gcf810CmwwyboAh4/ElmFqB+qW4QhLmBNe5k mbZm3oi5HREliWkoevTPwqvXA202 X-Google-Smtp-Source: ABdhPJyROrq25QsY0LhP2a8UyX0jV2kizROYnu7FUwFDfehgZ1ZpWUHXSv1uAiaLAlGSoO4KlfUciA== X-Received: by 2002:a17:90a:7401:: with SMTP id a1mr5563921pjg.218.1592609358823; Fri, 19 Jun 2020 16:29:18 -0700 (PDT) Received: from vpn2.localdomain ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id k140sm1670164pfd.185.2020.06.19.16.29.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jun 2020 16:29:18 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Sat, 20 Jun 2020 07:29:11 +0800 Message-Id: <1592609351-31955-1-git-send-email-lance.lmwang@gmail.com> X-Mailer: git-send-email 1.8.3.1 Subject: [FFmpeg-devel] [PATCH] doc/encoders: fix the misleading usage of profile 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 Cc: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Limin Wang users are getting mislead by the integer, although profile can support both const string and integer. http://ffmpeg.org/pipermail/ffmpeg-user/2020-June/049025.html Also fix the order of high and main, it's not my intention. Signed-off-by: Limin Wang --- doc/encoders.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 1331b79..17a0f4c 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -2740,17 +2740,17 @@ MPEG-2 video encoder. @subsection Options @table @option -@item profile @var{integer} +@item profile Select the mpeg2 profile to encode: @table @samp @item 422 -@item main +@item high @item ss Spatially Scalable @item snr SNR Scalable -@item high +@item main @item simple @end table