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 226234A805 for ; Wed, 10 Apr 2024 09:07:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E88AB68CF46; Wed, 10 Apr 2024 12:07:42 +0300 (EEST) Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2B9A168C96A for ; Wed, 10 Apr 2024 12:07:36 +0300 (EEST) Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a51ddc783e3so369839566b.0 for ; Wed, 10 Apr 2024 02:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712740054; x=1713344854; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=DRtf9hq5EiohBM2d7r1BOsWiyTXnFkouL9yfyQId/0U=; b=WZ5cz6ek9ReBGx5QjZ5QVI/toZjzfQJfvs0oVgvH2kLNOTV6Elz3DK4Xercp9Qw9MY hMkl6ip4oGQFP9IknfDly1Z/Z2c6aEGWJ/DLAXv1T+Lwgr2+LK7AzgIXYjS/ZQt0Yhen xRvraR5dIEWv+UGx3cFnwhdBBLoyApEmHK7aKeKkdA6Y/3ADzszYEQ/RNiDIrqi+mKYY 0hJ/KTIWYP9xp28nXlA6cWqngdD28ureiBIk1ykkXIpLNxKg1isl88w/af4yZkY40v+A 8u1oubdCwlJHQObVdAup0/ZzmofNf+OCbgJol6T9bJpisukeGbNpIRqRAfIL4yv3YzWy PS7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712740054; x=1713344854; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DRtf9hq5EiohBM2d7r1BOsWiyTXnFkouL9yfyQId/0U=; b=WnODDgt2wC3SQ6eFatXYgQ0ixPNQSKYDsVo+1SUIqS9XkDimiS4BW/1mJB7L/Twuny p0czX/2XZUDUM1gu1xlzwxDygWADOZb1+anWb33bWvAfrr9jmeTAy+6qeK6nu1qT9KU4 rumRrMA1aDWoSC6y5anzOa02CL656f4FF9fBaJDpm32NsYW2tQBjgUf0M9McVwhDNQnS HFuEzFlpkDqN3qE0lkkx+awyivsHvzYH16pWBhJ55Iii4DJP+zoO8TaAoWmrdHIkg0oc EIthmlxiw2w+RG2xZBfTPEepKpsSjJuu4YGeBbThfhsBl2JdTgd8kYTF3iaizZMpex5b F2iA== X-Gm-Message-State: AOJu0Ywu+wS3pUEV6i3ta4mASCiG/0tB0trQjizyK+kMr+XLa2T0lvrT Cba6tjb7D6rZ76SfYD3Oh5zNJZ7LnEKaHk53nWngwVCeh64yQhaezisrebkc X-Google-Smtp-Source: AGHT+IHQyNtS8eHMwZkbQyuN4tGpnY1IE9i3YgIsId635RpGgQunAS1D99YKqMjc5NIv+uzI/bGxLA== X-Received: by 2002:a17:906:4ac9:b0:a51:ae39:d385 with SMTP id u9-20020a1709064ac900b00a51ae39d385mr894705ejt.1.1712740053691; Wed, 10 Apr 2024 02:07:33 -0700 (PDT) Received: from mariano (host-82-58-28-189.retail.telecomitalia.it. [82.58.28.189]) by smtp.gmail.com with ESMTPSA id j24-20020a17090643d800b00a51d46c684csm3727784ejn.89.2024.04.10.02.07.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 02:07:33 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 14A75BFCE8; Wed, 10 Apr 2024 11:07:32 +0200 (CEST) Date: Wed, 10 Apr 2024 11:07:32 +0200 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: <20240406111014.6916-1-stefasab@gmail.com> <171247061464.28449.8895214744594373486@lain.khirnov.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH] lavf/matroskaenc: sort options by 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 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: On date Sunday 2024-04-07 16:01:27 +0800, Zhao Zhili wrote: > > > On Apr 7, 2024, at 14:16, Anton Khirnov wrote: > > > > Quoting Andreas Rheinhardt (2024-04-06 13:25:49) > >> See https://ffmpeg.org/pipermail/ffmpeg-devel/2024-February/320849.html > >> Additionally I do not agree that sorting options by name is the best > >> way; it should be sorted by what are (believed to be) the most commonly > >> used options. > > > > +1 > > https://patchwork.ffmpeg.org/project/ffmpeg/patch/20240106165246.274472-1-stefasab@gmail.com/ > > I have the same consideration in another patch. Maybe group related > options together than sort whole options. This hardly works for the aforementioned reasons, no objective criteria means that there will be never a consistent way to sort the options. What happens in practice is that options are added more or less randomly, which doesn't help readability and discoverability especially when there are many options. _______________________________________________ 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".