From patchwork Fri Apr 12 22:38:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 48033 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:670b:b0:1a9:af23:56c1 with SMTP id wh11csp562786pzb; Fri, 12 Apr 2024 15:54:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXv/jy8oS5YHgELE0+B1NInPomzVcdEue7KcA6SFUaCyXBgNZElnCVQHCgFbOuCWrkI+4Yz3kpRCiZAo3VyzeDmCO+JxhzkLUv0rg== X-Google-Smtp-Source: AGHT+IEFMU/C0Bsdf2kKnLzlvV3WJrJpoT3mJHw3bIByEXb1pzYmsaK1/aKDmFYRmAMEv7Jgn5An X-Received: by 2002:a17:906:6b98:b0:a52:355b:40a7 with SMTP id l24-20020a1709066b9800b00a52355b40a7mr1801533ejr.57.1712962460345; Fri, 12 Apr 2024 15:54:20 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id ha12-20020a170906a88c00b00a5235655373si1093231ejb.636.2024.04.12.15.54.19; Fri, 12 Apr 2024 15:54:20 -0700 (PDT) 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; dkim=neutral (body hash did not verify) header.i=@outlook.com header.s=selector1 header.b=g76ITabm; arc=fail (body hash mismatch); 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E54DC68D2E6; Sat, 13 Apr 2024 01:54:14 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05olkn2067.outbound.protection.outlook.com [40.92.90.67]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CD35768CD49 for ; Sat, 13 Apr 2024 01:54:07 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G9YZEL9rg1Sbaq3oVoZiRe3IVbXtp6YtQkm6WSC5MDUQxmjb1oWQfBXGW5z6srY6qHLzThPToGPxUxg9xxpsbafUK3qYowj55vhuWlQTOh7S+1z/JgzCGkB4XBjeoxwbRDGSfpUpjQJGAZCQ3iwDb29fPeTvPEdtx+T70cr1fUVDZ47x7o/Pj5C9z+IAEFRlWdTBjbuZvMRB5Exch++TzYY7GuXEvfbMkSV/gpSgzV3h5l61qh5HyRBDCeqeSOMfTqWbsuGb/IaJQHMr5D54MexP8xDzsaE9CNG/I3wadk3T4q+sUIP0SEC0mJZJg9UKB8mgh9ckqgVn61iK0ayXeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hIvfLrLcGqqhVLCTz5dive6p+iWdtAK0Cz+DzTzhPFM=; b=WKVK+XjtGaf+6kZcV5nJZLcGukYaeoKVVqRHm7x4HyenLCA5MDQv0F1MJczZMTxP+PzgbpJBSHMf2LICMNcqCe3cB0SIhL2Hjn4avnptaXMnvSqtkj5lW1W8sNDTzsmkGgHe7LONQiFfz08aGpWK5FlUFrqkVbBWOaG2lLdPLQzbYXXyK10/vjNvndeNSD935gvTUUfnbLMATs61xB1jZxJX+9nC/XHrc4XgqoefebTldh2YJLQUVVESDaGcGjnISL2H6TV5uyqv88p22o53en8Lw52+ExquIXMdEP0SNVWqx4NNS+2lj5huez9Mgr9wCOhZ0kDOnbgKWzOBAokCvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hIvfLrLcGqqhVLCTz5dive6p+iWdtAK0Cz+DzTzhPFM=; b=g76ITabmBSi+bV+Zld2Xv0g8v4bKq9j6oAe58SRfKXzq8mSkqi1NnwlT59bCeMSVUi6OEVbpvLt9QIEmdAgCx9Zu6/eIFv7kZjK1M/CXA+PYMR1p508ukXzZRVqwE3wOiDz3vZDa86+luYWHpspQozxX+No8KMReabt8dypMn+SqaseDM+byG+Gn9uWzItNKbaJuzMwqiJWvJEHQb0DapWsR1GreQXJtHPQSvZ2w2U2MVIzfSMkXiqh8v2A6WeI00JMH1pfTLS9rC80SlV14XFvxBc0UW/9nUgfLqDwXAvlzprfDEMlq2b+evaxHLqB8YHAfySFZLm4jgs41bWB0iQ== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by DU2P250MB0288.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:27d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.55; Fri, 12 Apr 2024 22:38:56 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::1f29:8206:b8c3:45bb]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::1f29:8206:b8c3:45bb%3]) with mapi id 15.20.7409.042; Fri, 12 Apr 2024 22:38:56 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sat, 13 Apr 2024 00:38:49 +0200 Message-ID: X-Mailer: git-send-email 2.40.1 X-TMN: [tNTvvkQVkVJCJehDkQcU1o2IOWq73MofuTuyGqOY0Bc=] X-ClientProxiedBy: ZR0P278CA0196.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:44::22) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20240412223849.2951082-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|DU2P250MB0288:EE_ X-MS-Office365-Filtering-Correlation-Id: 2881ed48-94e6-41a2-95cf-08dc5b4156a8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0s9nCHx2HJmCUFXFBB5DCFgqrupasra2TAVVCAFiKu2QiqT57bKCeIavtaO4LnriWA+3eALcJHvlUiXqDaBOKzaWY6+MM9KquC1PzN741Xbgak9CeoqMlGcEZZX07UkfGKnf/GvAg45omQu6cT2PlWK70myEGEPC+09ioUn92bslZznelt2iohEzqp7clv+pHpn44hxsD16WTWWBWDltPg2gRmJkqsq8llURwT/HC0FapN8ha7n9hDu+y8m/yf/KTwVyc1lbEvXbo8JGl851cRCqdCvm2z+KPP3tPnmqGVbHb94dKzMQU7i4PVBAhL7YhyTuFNjyxqGpPjnG1q4k84rlS2wF9pxpGnV1HLgGNZMbWyWGOQde+/DNfw8WbiJ4xfnRl/Mn7uOj5fDO2/HaOX4QbsXnc7PgtduO6Aqj5v+qdPIBcLJQ0L5Ajy+dqkaZQNkSTAyirLPRLNyrx3yka79VQtC09fMJHADFHl82AbpFKiWceV2KpSVF7lGgfKQrJ39C6WISJPdXe6wao7+rjsSNjXpd9994FP0IGo6ADHKBaThRC8rGX4lcccOsEY655/up+zScSrmXWIlnwJ45p+cUYrQEO0qijZL04eI6MDLENEza2qlnr2irk4iLUwgR X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-Anti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Szlv8Q+IPlmseDLpeC4bykjsHot0iH5MVdLJfWbqHJ1qdcRuD+9FvMMAdkNIBJB/fu2bl5cWRVrMNxjjf/8zuOc8/FwSPP/tAr4qlIyTLXB1vAOlGPAci2GV8mpdO36YBp+okn64Bhgo+cHyiaJ1s4sgeG5Ul0rJWo3okDJHwXNugKsTdecH+IBC+HntIrfIlK2hUu1b7k7CdPgdqXfQmTkr1UPT8AIqNPPfGnE9nbgQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2881ed48-94e6-41a2-95cf-08dc5b4156a8 X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2024 22:38:56.8580 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2P250MB0288 Subject: [FFmpeg-devel] [PATCH] doc/muxers.texi: Don't use confusing variable name 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: hJ3gWlva+zNO reserve_index_space is a size, not an index. Also refer to the variable in the description. Signed-off-by: Andreas Rheinhardt --- doc/muxers.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 4b30970b78..489f22288b 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2816,14 +2816,14 @@ ffmpeg -i sample_left_right_clip.mpg -an -c:v libvpx -metadata stereo_mode=left_ @subsection Options @table @option -@item reserve_index_space @var{index} +@item reserve_index_space @var{size} By default, this muxer writes the index for seeking (called cues in Matroska terms) at the end of the file, because it cannot know in advance how much space to leave for the index at the beginning of the file. However for some use cases -- e.g. streaming where seeking is possible but slow -- it is useful to put the index at the beginning of the file. -If this option is set to a non-zero value, the muxer will reserve a given amount +If this option is set to a non-zero value, the muxer will reserve @var{size} bytes of space in the file header and then try to write the cues there when the muxing finishes. If the reserved space does not suffice, no Cues will be written, the file will be finalized and writing the trailer will return an error.