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 5A2FF47CBB for ; Tue, 16 Apr 2024 00:07:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 125B968D113; Tue, 16 Apr 2024 03:07:26 +0300 (EEST) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 88D2068CEEB for ; Tue, 16 Apr 2024 03:07:19 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id AA5B31C0004 for ; Tue, 16 Apr 2024 00:07:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1713226038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RrJogz/xCLeA/wZ371htjAOUPXygGmxHgFIGF0auH14=; b=XLgAgfGxb8x+wOs4kT2vP27l+czF6AmwCrUvTYaXNdwSvJEvA6QCSh8ybJfQUNuoH4dKz9 dwtlc9gTKkuqjssPmDB4IlVgFOuQE25djRhwUqex0AD2ERGrN2ZuDRTCANiQ7rlQGIvgMd NGtlUAPH/27VRNrnIXZR6GcGEZ3vspFdtFVdCTGGwJX9uijMf0biJtRAyI3zn7PBNafOiw aqPdxnrQM2hcW4ax95KTbHGxdNnWm7cUdHpE0IJeq21h0tCZfcB1MVN46XwtfiSM4HuHaJ dzK89Ag7TvJdtaP3ratVO1cX9Vf0RuSMBFTa2mwwU/LColGRTsLgXgrRtloxGQ== Date: Tue, 16 Apr 2024 02:07:17 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240416000717.GE6420@pb2> References: <20240414195720.21646-1-timo@rothenpieler.org> <4c7d22f2-1323-fffa-39ae-158a501f5f84@passwd.hu> <40a79338-4d02-4c69-b69d-f0f0009f6334@rothenpieler.org> MIME-Version: 1.0 In-Reply-To: <40a79338-4d02-4c69-b69d-f0f0009f6334@rothenpieler.org> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avutil/opt: add AV_OPT_FLAG_FORCE_CONST 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: multipart/mixed; boundary="===============8020968841852488368==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8020968841852488368== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lDaAIDeFdJrlbMNb" Content-Disposition: inline --lDaAIDeFdJrlbMNb Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 14, 2024 at 10:35:57PM +0200, Timo Rothenpieler wrote: > On 14.04.2024 22:30, Marton Balint wrote: > >=20 > >=20 > > On Sun, 14 Apr 2024, Timo Rothenpieler wrote: > >=20 > > > --- > > > doc/APIchanges=A0=A0=A0=A0=A0 |=A0 3 +++ > > > libavutil/opt.c=A0=A0=A0=A0 | 14 ++++++++++++++ > > > libavutil/opt.h=A0=A0=A0=A0 |=A0 5 +++++ > > > libavutil/version.h |=A0 2 +- > > > 4 files changed, 23 insertions(+), 1 deletion(-) > >=20 > > Where do you intend to use this flag? So some justification or > > description of your plans is missing from the commit message. >=20 > Some options in nvenc could be greatly simplified with it, where right now > there's multiple if/switch-trees in the code, just to weed out invalid > values. This doesnt feel right. The code would need to validate the actual value the same way it checks min/max at least avoptions allows the user to obtain a parameters address and set it directly as well as set it without any AVOption iam still not sure thats a good idea. Why are the values not in a continous sequence of integers that can be checked with min/max ? thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin --lDaAIDeFdJrlbMNb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZh3BMgAKCRBhHseHBAsP qwW4AJ94OosibEAOtQvC3jcOPIAc7EOVXgCgiKC38+op+JQm/faxDpoAU7aAFAk= =FEml -----END PGP SIGNATURE----- --lDaAIDeFdJrlbMNb-- --===============8020968841852488368== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============8020968841852488368==--