[FFmpeg-devel] [PATCH v1 4/4] avfilter/vf_framerate: limit the scene level max range
Paul B Mahol
onemda at gmail.com
Sat Sep 21 17:54:49 EEST 2019
lgtm
On 9/21/19, lance.lmwang at gmail.com <lance.lmwang at gmail.com> wrote:
> From: Limin Wang <lance.lmwang at gmail.com>
>
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
> libavfilter/vf_framerate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c
> index 6383f69..59d58e7 100644
> --- a/libavfilter/vf_framerate.c
> +++ b/libavfilter/vf_framerate.c
> @@ -53,7 +53,7 @@ static const AVOption framerate_options[] = {
>
> {"interp_start", "point to start linear interpolation",
> OFFSET(interp_start), AV_OPT_TYPE_INT, {.i64=15}, 0,
> 255, V|F },
> {"interp_end", "point to end linear interpolation",
> OFFSET(interp_end), AV_OPT_TYPE_INT, {.i64=240}, 0,
> 255, V|F },
> - {"scene", "scene change level",
> OFFSET(scene_score), AV_OPT_TYPE_DOUBLE, {.dbl=8.2}, 0,
> INT_MAX, V|F },
> + {"scene", "scene change level",
> OFFSET(scene_score), AV_OPT_TYPE_DOUBLE, {.dbl=8.2}, 0,
> 100., V|F },
>
> {"flags", "set flags", OFFSET(flags), AV_OPT_TYPE_FLAGS,
> {.i64=FRAMERATE_FLAG_SCD}, FRAMERATE_FLAG_NONE, FRAMERATE_FLAG_SCD, V|F,
> "flags" },
> CONST("none", "disable scene change detection",
> FRAMERATE_FLAG_NONE, "flags"),
> --
> 2.6.4
>
> _______________________________________________
> 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