Re: [FFmpeg-devel] [discussion] AVOptionRange fields

2021-06-08 Thread Diederick C. Niehorster
FWIW, On Sat, Jun 5, 2021 at 11:36 PM Diederick C. Niehorster wrote: > When implementing the avdevice capabilities API, I have run into three > things regarding the AVOptionRange fields (libavutil/opt.h, lines > 310-328) > > 1. an enum AVOptionType field "type" should be added. Else user cannot

[FFmpeg-devel] [discussion] AVOptionRange fields

2021-06-05 Thread Diederick C. Niehorster
When implementing the avdevice capabilities API, I have run into three things regarding the AVOptionRange fields (libavutil/opt.h, lines 310-328) 1. an enum AVOptionType field "type" should be added. Else user cannot know how to interpret the returned value(s), which are all doubles. NB: for the