From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id C428045857 for ; Sun, 26 Mar 2023 18:15:38 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AD73F68C59B; Sun, 26 Mar 2023 21:15:35 +0300 (EEST) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3DE6168C584 for ; Sun, 26 Mar 2023 21:15:29 +0300 (EEST) Received: by mail-wm1-f42.google.com with SMTP id l37so3790663wms.2 for ; Sun, 26 Mar 2023 11:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679854527; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zwMN+QtoAJ4nA4R4aS5MVoXph+j0YZrxt+0JUzuCaT0=; b=Z8QpImyNGzan94Eb/AvQndOK/MNDSQ78MVxYlNVkCbCJyAJGlfvQtHpFSmG91mVkqs ZH/K6Lvvo/K6TKaWGyvGW11pYWHbfHD8NNiKiW7EL2ES49IS8bzSLamtcMXx4YF/jmhu /1yXGXQgH14v/nIy7RCBTyg4eBV6EIjjvRLxrAdpmk2D6xgv96nRcWPWdix4onL9OBa9 GIagpsQt5yvMHsq9QafCjMzqNORMJy4tmO3rp2TTiXgjb4jYVlcUvaGTFCZXWw56r67d HddKjbuxmj4JAkR+J5ybBco94PmU89wFJVGz/CEEBtQ44Q+Av8bJGKlymkgzjqLsAoS4 plgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679854527; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zwMN+QtoAJ4nA4R4aS5MVoXph+j0YZrxt+0JUzuCaT0=; b=7YYMxv/qPKyNXDTU7E4f0bT/9dU5fdS52qYOsk1ID4kC0c98fSG4ERZ2zguTs+nSF8 zx2Nb5a1tJBFi2EzIMZKKd3PBSkkTbSLvrD1ftXBeJWaomA9j+wZ8Rzq6MbqFValEnQg MDPSNm8LHgg3UcEK6TjNM+wsJ7j71y/UYODaoX2rCDVFU6sPED7Q6e6rzkgTGDCXHJ5Z 8RtA8HpqGwWX8+N9J52Hpy242ROvZ2trvZlLx7ouRNpxEU7uQPKZmo+P1f9xOMrM2tKu 0IFe7Fvyb3nO9onTpWVgnFKN7xBlL3kYwlxwbWnAF5bMefb97ZGRP6lR3NW+179i+rpQ v9Kg== X-Gm-Message-State: AO0yUKVG2owiMSf5KwrZM+e8xbbz0O09DOwfO/vo8vpTwGSK+qzvBWsx FXir4r9Wa4h+v+S8KZ09IP9oYQ6Jquw= X-Google-Smtp-Source: AK7set+dSCHw7TgpcyAScwK7zxE7yt7ZIaA9m2a9FQKQxikm9JFRbvCwdLjU4R56sn8EMJ6jXG5T0w== X-Received: by 2002:a7b:c04a:0:b0:3ee:6161:7d98 with SMTP id u10-20020a7bc04a000000b003ee61617d98mr7617518wmc.16.1679854527691; Sun, 26 Mar 2023 11:15:27 -0700 (PDT) Received: from mariano (dynamic-adsl-62-10-98-143.clienti.tiscali.it. [62.10.98.143]) by smtp.gmail.com with ESMTPSA id t9-20020a1c7709000000b003ed1ff06faasm11109286wmi.19.2023.03.26.11.15.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 11:15:27 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id D08DFBFB73; Sun, 26 Mar 2023 20:15:25 +0200 (CEST) From: Stefano Sabatini To: FFmpeg development discussions and patches Date: Sun, 26 Mar 2023 20:15:25 +0200 Message-Id: <20230326181525.59087-1-stefasab@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] doc/filters/aspect: update documentation X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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: Stefano Sabatini Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Drop mention of unsupported N:M syntax, dropped since 0ed61546c459. Also, drop reference of common expression constants, and fix description of a expression parameter. Fix issue: http://trac.ffmpeg.org/ticket/9974 --- doc/filters.texi | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 889de8b11a..8d4c6ae2f6 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -20888,12 +20888,9 @@ It accepts the following parameters: @item r, ratio, dar (@code{setdar} only), sar (@code{setsar} only) Set the aspect ratio used by the filter. -The parameter can be a floating point number string, an expression, or -a string of the form @var{num}:@var{den}, where @var{num} and -@var{den} are the numerator and denominator of the aspect ratio. If -the parameter is not specified, it is assumed the value "0". -In case the form "@var{num}:@var{den}" is used, the @code{:} character -should be escaped. +The parameter can be a floating point number string, or an expression. If the +parameter is not specified, it is assumed the value "0", meaning that the same +input value is assumed. @item max Set the maximum integer value to use for expressing numerator and @@ -20902,19 +20899,14 @@ Default value is @code{100}. @end table -The parameter @var{sar} is an expression containing -the following constants: +The parameter @var{sar} is an expression containing the following constants: @table @option -@item E, PI, PHI -These are approximated values for the mathematical constants e -(Euler's number), pi (Greek pi), and phi (the golden ratio). - @item w, h The input width and height. @item a -These are the same as @var{w} / @var{h}. +Same as @var{w} / @var{h}. @item sar The input sample aspect ratio. -- 2.25.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".