[FFmpeg-devel] [PATCH v2] avfilter/f_realtime: add option to scale speed
Paul B Mahol
onemda at gmail.com
Sat May 4 18:08:32 EEST 2019
On 5/4/19, Moritz Barsnick <barsnick at gmx.net> wrote:
> On Sat, May 04, 2019 at 16:19:13 +0200, Paul B Mahol wrote:
>> > + { "speed", "speed factor", OFFSET(speed), AV_OPT_TYPE_DOUBLE, {
>> > .dbl =
>> > 1.0 }, DBL_MIN, DBL_MAX, FLAGS },
>>
>> Why is this allowed to be negative?
>
> In my reading (and intent), it's forbidden to be negative. Both min and
> max are macros representing positives.
>
> I don't own a standard, but web sources tell me DBL_MIN is the
> "minimum, normalized, positive value of [type] double", e.g.
> https://en.cppreference.com/w/c/types/limits
>
Thanks, will apply soon.
More information about the ffmpeg-devel
mailing list