On Sun, Apr 14, 2024 at 10:35:57PM +0200, Timo Rothenpieler wrote: > On 14.04.2024 22:30, Marton Balint wrote: > > > > > > On Sun, 14 Apr 2024, Timo Rothenpieler wrote: > > > > > --- > > > doc/APIchanges | 3 +++ > > > libavutil/opt.c | 14 ++++++++++++++ > > > libavutil/opt.h | 5 +++++ > > > libavutil/version.h | 2 +- > > > 4 files changed, 23 insertions(+), 1 deletion(-) > > > > Where do you intend to use this flag? So some justification or > > description of your plans is missing from the commit message. > > 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 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".