Change dbl to i64 for bool type
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -53,8 +53,8 @@ typedef struct SCDetContext { · 52 unmodified lines | ||
| 53 | 53 | static const AVOption scdet_options[] = { |
| 54 | 54 | { "threshold", "set scene change detect threshold", OFFSET(threshold), AV_OPT_TYPE_DOUBLE, {.dbl = 10.}, 0, 100., V|F }, |
| 55 | 55 | { "t", "set scene change detect threshold", OFFSET(threshold), AV_OPT_TYPE_DOUBLE, {.dbl = 10.}, 0, 100., V|F }, |
| 56 | − { "sc_pass", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.dbl = 0 }, 0, 1, V|F }, | |
| 57 | − { "s", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.dbl = 0 }, 0, 1, V|F }, | |
| 56 | + { "sc_pass", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, V|F }, | |
| 57 | + { "s", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, V|F }, | |
| 58 | 58 | {NULL} |
| 59 | 59 | }; |
| 60 | 60 | |