diff options
author | Jun Zhao <mypopydev@gmail.com> | 2024-06-29 09:40:53 +0800 |
---|---|---|
committer | Jun Zhao <barryjzhao@tencent.com> | 2024-07-05 18:06:14 +0800 |
commit | 03c2e9d77eace004db4579116e0141c496862895 (patch) | |
tree | 3b01d5f3e716f04d7e090df6e0917bbbd439338c | |
parent | 25a7dcf06916b6b55789abf801ccbc77859da9e2 (diff) | |
download | ffmpeg-03c2e9d77eace004db4579116e0141c496862895.tar.gz |
lavf/scdet: minor fix
Change dbl to i64 for bool type
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
-rw-r--r-- | libavfilter/vf_scdet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_scdet.c b/libavfilter/vf_scdet.c index 15399cfebf..705bdf9777 100644 --- a/libavfilter/vf_scdet.c +++ b/libavfilter/vf_scdet.c @@ -53,8 +53,8 @@ typedef struct SCDetContext { static const AVOption scdet_options[] = { { "threshold", "set scene change detect threshold", OFFSET(threshold), AV_OPT_TYPE_DOUBLE, {.dbl = 10.}, 0, 100., V|F }, { "t", "set scene change detect threshold", OFFSET(threshold), AV_OPT_TYPE_DOUBLE, {.dbl = 10.}, 0, 100., V|F }, - { "sc_pass", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.dbl = 0 }, 0, 1, V|F }, - { "s", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.dbl = 0 }, 0, 1, V|F }, + { "sc_pass", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, V|F }, + { "s", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, V|F }, {NULL} }; |