[FFmpeg-devel] [PATCH 24/35] avutil/opt: AVOptionRange gains is_set field.
Diederick C. Niehorster
dcnieho at gmail.com
Tue Jun 8 09:42:58 EEST 2021
On Tue, Jun 8, 2021 at 1:45 AM Andreas Rheinhardt <
andreas.rheinhardt at outlook.com> wrote:
> This has absolutely nothing to do with full/limited range, but rather
> whether the AVOptionRange contains an interval or a single value.
> (Not that I know why this needs to be set explicitly and not implicitly
> via is_range = value_min < value_max.)
>
Yes, the is_range field seems superfluous, but its already there. What are
your thoughts on the is_set field? For usage example, see patch
device_get_capabilities.c in patch 32/35 in this series.
More information about the ffmpeg-devel
mailing list