From patchwork Sat Mar 10 18:32:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moritz Barsnick X-Patchwork-Id: 7892 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.181.170 with SMTP id m39csp2330409jaj; Sat, 10 Mar 2018 10:37:27 -0800 (PST) X-Google-Smtp-Source: AG47ELumW6Zp0qGwjiCjJ2Xi5Amq+vLhfmRv0A+plqKNr5sGEZQhDp7zq2zF71LX4/WYlF74rJTH X-Received: by 10.28.21.12 with SMTP id 12mr1645277wmv.56.1520707047836; Sat, 10 Mar 2018 10:37:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520707047; cv=none; d=google.com; s=arc-20160816; b=bQJxoTH2OcRmkxA/BMfZfm+2N0u55AO/ygvAykDTKxYh7SmoOhu/8UK0PPyPwaiobJ Z7AagcEoYHpH49gzAN+Bchb61MIp2k/jq9V4X1HRKh4XB3XJMUd9WZwcbV4fmjA2/Mlj glyyVP9jEX4EKs94EZirT9PFH20QjFmm0qp38LOP4iNlRuBwfFUfZm0+vK1YLtCTMZQr dPkf4PtvAsEjRZt5Y4EpQnaAWH/oQX4XZPHXinqgTE1aOY3UwySc3LDSP7XXoTUH2Hc0 D87PJ00DHHj1z3XR6Z1E8oG3fSw4ozRWS3jfXeX9dLBhHcxP15C+L7DNuwJC916dhYSb MyOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:user-agent:content-disposition:mime-version :message-id:to:from:date:delivered-to:arc-authentication-results; bh=udQybw/iiLJul1a7pFODJUWAb4EuekfZaVZQY11xMPc=; b=pO1xczapfG589fYPH0jv1p6yMIH6XuJnJ53Toqq+il7QYzWkirGccky+a2hw84TOW+ O6KzYGzFb5N5RxeVCTwcNX6Kt1exasM9xae4z7VQR8nvyrIymTYN+TQOtjVQIosJFxDW 4m520Exfurhru5t73YJMmVRHkngWIZbYYJcLbTKMTgYS7jB1D5Y1vn/UzCz6GUAOh9ao kQ1gEbQ1k7K3lYxn5s7TGdrUetlczmxxpcq7lyk+zKn2fZTcCWY1IcqJEkwpLWm58O6m jDbXvOCAb1DsCe//CRFQ//C0JvvftQnxwm/Zt0TGCtLIWjm32AP/jeOmRpXswDTFnhFH l+vw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id b7si2703844wri.134.2018.03.10.10.37.26; Sat, 10 Mar 2018 10:37:27 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7B69F68A3A8; Sat, 10 Mar 2018 20:37:15 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id ECBD768A347 for ; Sat, 10 Mar 2018 20:37:08 +0200 (EET) Received: from sunshine.barsnick.net ([91.13.171.115]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MWk7n-1fB1753wdv-00XuIm; Sat, 10 Mar 2018 19:32:09 +0100 Date: Sat, 10 Mar 2018 19:32:09 +0100 From: Moritz Barsnick To: FFmpeg development discussions and patches Message-ID: <20180310183209.GC2159@sunshine.barsnick.net> MIME-Version: 1.0 Content-Disposition: inline X-Mailer: git-send-email 2.14.3 User-Agent: Mutt/1.9.4 (2018-02-28) X-Provags-ID: V03:K0:9EzcBNmILqtJAI92/3r5/wKIMKKP5YBd3lAC+3Zev6NmHKz1FF6 /vQ0zDt/eVxhYlzJiA3oFlYio+cYkMhtHsSnzi2/JOYfA26ZCVoDgZgnkTrAJUFDr4CMApT 0F9djHs1MWblc2Bjb5c+EnAA8HyiaRW2DhIMpNjpACv7JXK0YJE2OHTx8amD4/k9eOyE5he DYtqsWjH/GOQYenpdnchg== X-UI-Out-Filterresults: notjunk:1; V01:K0:v1y4WEzRXns=:Ay5jIPgbbpyDB8baqSNAzV 6x8cBhXpYJQneTEsiI3oSDaeq4Ml+5F/SA0qJDm8mF/5EdRN3NsEnntclIb4fGC0LTf6XxmpV FjaMh+XVeKx/Eol60aCzFTgiBVMPaZJSwNDX2N1DNeHtsvI0trK681GQisePU0o6b2UAAT8Tu goyqkS3Vw+4FyumHm5Cv+NAo/h2OGunsujhcXLYdDhcsG0zs/PthngE0WxDuad4Bql8lUb9MO APivm/ld+QXMvI3NBguOUdh3jdRDBnqGX+ITEf+gJfWY2I/fhQUWqYtmue2p9bPjG9l1omLvg BSH5ndHvIFeMO9wzNn8cTiQz2lxfoRjRzJeIG+ZW52FHFCEUgFMLHsjzRVObPaBW4MMcXFZY4 ENlG37CibVxhE61ONocCHOkiwl6jOPv9TYIBIeTAfIFeOwwEErXLuYjmPKUX7dJsVy0OjfG/u 0JJB95eycNBmThWbdOgdrEaQQhvfQM7cLj0msv0sxHQVHzZ8nw3tBewbpDUulTlz9QNPLGLXv 4z1XfJBHZ9DCLQO6QAhI68cHUk4H/Vt3rns6/MeJkiLQGgh9R6xKwlRKtnDFZidAA2C9Ykn0U hPxg9BYGo9+TG37nryqY9kMUHHJDwnFL7tzO+HyATj0xU8lXI5oRvoKjo6Ptyt+/Wosp5MwBD HTKymKWNksPuuCxAF7cRT7ZTc7MxpZW5AK12wR6Khq8r3tGZcdu/ObVLuivA2b3GqTD2l7Fp1 EuM11egk3pQKoHqVPxpNq4R/25nJL3WQE4oho6jPKhTAgLusIYABXhMIR71ACx0HJLX0/sSNh MTz4cKcZeE2IVkyRDcehw40RhIBpw== Subject: [FFmpeg-devel] [PATCH] doc/utils: document the "ms" and "us" suffixes for durations 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" These suffixes were recently introduced in 61c972384d311508d07f9360d196909e27195655 and completed in 8218249f1f04de65904f58519bde21948e5a0783. Signed-off-by: Moritz Barsnick --- I chose not to document the suffixes in the section describing the HH:MM:SS.mmm syntax, even though they work there (with expected, but quite difficult to explain effects). doc/utils.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/utils.texi b/doc/utils.texi index d55dd315c3..a094ee151c 100644 --- a/doc/utils.texi +++ b/doc/utils.texi @@ -110,11 +110,12 @@ maximum of 2 digits. The @var{m} at the end expresses decimal value for @emph{or} @example -[-]@var{S}+[.@var{m}...] +[-]@var{S}+[.@var{m}...][ms|us] @end example @var{S} expresses the number of seconds, with the optional decimal part -@var{m}. +@var{m}. The optional literal suffixes @samp{ms} or @samp{us} indicate to +interpret the value as milliseconds or microseconds, respectively. In both expressions, the optional @samp{-} indicates negative duration.