[FFmpeg-devel] [PATCH 3/3] avfilter/vf_fps: add option to change way how frames are duplicated

Paul B Mahol onemda at gmail.com
Wed Oct 30 11:18:50 EET 2019


On 10/30/19, Moritz Barsnick <barsnick at gmx.net> wrote:
> On Tue, Oct 29, 2019 at 18:00:57 +0100, Paul B Mahol wrote:
>>      { "input", "use input framerate if available", OFFSET(input),
>> AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, V|F },
>> +    { "frames", "set rounding method for frames",
>> OFFSET(frames_rounding), AV_OPT_TYPE_INT, { .i64 = AV_ROUND_DOWN }, 0, 5,
>> V|F, "round" },
>>      { NULL }
>
> You forgot to add the corresponding option flags here.

No I have not. Today is good day for you because you will learn that
that options values will be used from previous occurrence. Otherwise
both options would get duplicated values listed.

>
> Moritz
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list